Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00225/0.00225, allocations: 207.8 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2446/0.2446, allocations: 46.97 MB / 360.9 MB, free: 4.129 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.89 kB / 0.4966 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4051, allocations: 66.04 MB / 0.5611 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003363/0.4084, allocations: 1.613 MB / 0.5627 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.4096, allocations: 0.5349 MB / 0.5632 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.526e-05/0.4096, allocations: 0 / 0.5632 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.41, allocations: 115.6 kB / 0.5633 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.4103, allocations: 119.6 kB / 0.5634 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.4107, allocations: 119 kB / 0.5635 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.4109, allocations: 91.81 kB / 0.5636 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.411, allocations: 15.64 kB / 0.5636 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.166e-05/0.4111, allocations: 39.84 kB / 0.5637 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.4112, allocations: 75.78 kB / 0.5637 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.4113, allocations: 4 kB / 0.5637 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.4114, allocations: 51.91 kB / 0.5638 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.4114, allocations: 31.86 kB / 0.5638 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.4115, allocations: 23.81 kB / 0.5638 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.4117, allocations: 114.2 kB / 0.564 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4117, allocations: 4 kB / 0.564 GB, free: 1.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4117, allocations: 4 kB / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.4117, allocations: 0 / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006272/0.4123, allocations: 353.5 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4124, allocations: 8.031 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.4124, allocations: 16.83 kB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.4127, allocations: 155 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.4127, allocations: 4.375 kB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.4127, allocations: 384 / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.4129, allocations: 57.81 kB / 0.5645 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.4129, allocations: 3.953 kB / 0.5645 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4129, allocations: 4 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4129, allocations: 0 / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.972e-05/0.413, allocations: 27.97 kB / 0.5646 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.4134, allocations: 260.4 kB / 0.5648 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.4136, allocations: 38.56 kB / 0.5649 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.4136, allocations: 20.94 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.4137, allocations: 4 kB / 0.5649 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.4137, allocations: 30.56 kB / 0.5649 GB, free: 124 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4137, allocations: 3.938 kB / 0.5649 GB, free: 120 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001047/0.4147, allocations: 249.3 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.4148, allocations: 51.41 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.4151, allocations: 259 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.4151, allocations: 25.7 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.4152, allocations: 116.1 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.4152, allocations: 27.69 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.4153, allocations: 25.7 kB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4154, allocations: 330.6 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.4155, allocations: 27.98 kB / 0.566 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.4156, allocations: 27.97 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.4157, allocations: 73.12 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4157, allocations: 0 / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002429/0.416, allocations: 129.9 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.416, allocations: 8 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.416, allocations: 4 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.416, allocations: 0 / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4161, allocations: 15.98 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4162, allocations: 0 / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.4162, allocations: 11.88 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.4162, allocations: 4 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.4163, allocations: 133.8 kB / 0.5664 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.4164, allocations: 19.89 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.4167, allocations: 135 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4167, allocations: 0 / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4167, allocations: 4 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4167, allocations: 3.938 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.4173, allocations: 362.9 kB / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4173, allocations: 0 / 0.5669 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.4174, allocations: 24.02 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4174, allocations: 0 / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.4174, allocations: 3.938 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4174, allocations: 3.984 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4174, allocations: 4 kB / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.4177, allocations: 216.2 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.4177, allocations: 7.953 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.4177, allocations: 7.938 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.461e-05/0.4178, allocations: 15.98 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.4178, allocations: 3.984 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.4178, allocations: 4 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.418, allocations: 187.2 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.418, allocations: 0 / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.4183, allocations: 23.94 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001844/0.4201, allocations: 498.3 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.4204, allocations: 75.92 kB / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4204, allocations: 0 / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.4205, allocations: 43.91 kB / 0.5679 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.4209, allocations: 25.3 kB / 0.568 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/0.4215, allocations: 307.2 kB / 0.5682 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.4216, allocations: 97.77 kB / 0.5683 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.046e-05/0.4217, allocations: 16.66 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.4217, allocations: 19.44 kB / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4217, allocations: 4 kB / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of Templates: time 0.004803/0.4265, allocations: 1.501 MB / 0.5698 GB, free: 11.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.294496079906821]