Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 113.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 183.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2363/0.2363, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001577, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4591, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.00357/0.4627, allocations: 1.596 MB / 0.5205 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009222/0.4637, allocations: 410.7 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.4637, allocations: 0 / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.4641, allocations: 76.62 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.4643, allocations: 67.83 kB / 0.521 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.4647, allocations: 104 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.4649, allocations: 75.28 kB / 0.5212 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.465, allocations: 18.95 kB / 0.5212 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.4651, allocations: 37.77 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.4654, allocations: 53.41 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.4654, allocations: 3.438 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.4655, allocations: 44.41 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.382e-05/0.4656, allocations: 26.47 kB / 0.5214 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.4657, allocations: 26.5 kB / 0.5214 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.466, allocations: 99.67 kB / 0.5215 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.466, allocations: 1.641 kB / 0.5215 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.466, allocations: 3.938 kB / 0.5215 GB, free: 1.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.466, allocations: 0 / 0.5215 GB, free: 1.992 MB / 382.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.0006384/0.4667, allocations: 406.3 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.4667, allocations: 7.969 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.4668, allocations: 11.02 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.467, allocations: 197 kB / 0.5221 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.467, allocations: 1.5 kB / 0.5221 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.4671, allocations: 3.438 kB / 0.5221 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.4673, allocations: 61.45 kB / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.4673, allocations: 1.25 kB / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4673, allocations: 0 / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.4673, allocations: 1.25 kB / 0.5221 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.4675, allocations: 33.72 kB / 0.5222 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.468, allocations: 301.4 kB / 0.5225 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.4682, allocations: 48.86 kB / 0.5225 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.854e-05/0.4682, allocations: 15.28 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.4683, allocations: 1.094 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.4683, allocations: 36.28 kB / 0.5226 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.4683, allocations: 4 kB / 0.5226 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001053/0.4694, allocations: 226.9 kB / 0.5228 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.4694, allocations: 53.28 kB / 0.5228 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.4696, allocations: 210.5 kB / 0.523 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.4697, allocations: 29.7 kB / 0.5231 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.4697, allocations: 113.4 kB / 0.5232 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.4698, allocations: 28.86 kB / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.4698, allocations: 21.09 kB / 0.5232 GB, free: 480 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.4699, allocations: 326.9 kB / 0.5235 GB, free: 152 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.714e-05/0.47, allocations: 30.17 kB / 0.5236 GB, free: 144 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.47, allocations: 29.61 kB / 0.5236 GB, free: 136 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.4702, allocations: 80.5 kB / 0.5237 GB, free: 100 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4702, allocations: 0 / 0.5237 GB, free: 100 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000223/0.4705, allocations: 112.9 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4705, allocations: 5.625 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4705, allocations: 0 / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.4705, allocations: 1.75 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4706, allocations: 20.45 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.4707, allocations: 5 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.4707, allocations: 12.73 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.4707, allocations: 2.438 kB / 0.5238 GB, free: 24 kB / 382.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.0001278/0.4709, allocations: 128 kB / 0.5239 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.4709, allocations: 9.172 kB / 0.5239 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.4712, allocations: 126.7 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.4712, allocations: 5.344 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.4712, allocations: 13.77 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4713, allocations: 0 / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006479/0.4719, allocations: 416.3 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4719, allocations: 0.6094 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-05/0.472, allocations: 20.27 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.472, allocations: 2.469 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.472, allocations: 5.156 kB / 0.5245 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.472, allocations: 5.438 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4721, allocations: 0.75 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.4723, allocations: 214.7 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.4724, allocations: 87.36 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.4724, allocations: 2.531 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.4725, allocations: 5.266 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.4725, allocations: 10.05 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.4726, allocations: 5.781 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.4727, allocations: 156.4 kB / 0.525 GB, free: 15.08 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4727, allocations: 0 / 0.525 GB, free: 15.08 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.473, allocations: 23.08 kB / 0.525 GB, free: 15.07 MB / 398.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.001095/0.4741, allocations: 459.4 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.4744, allocations: 74.69 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4744, allocations: 4 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.4745, allocations: 34.08 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.4749, allocations: 33.58 kB / 0.5256 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.4754, allocations: 260 kB / 0.5258 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.4758, allocations: 0.7128 MB / 0.5265 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.63e-05/0.4759, allocations: 25 kB / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.4759, allocations: 13.92 kB / 0.5266 GB, free: 13.91 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4759, allocations: 0 / 0.5266 GB, free: 13.91 MB / 398.1 MB Notification: Performance of Templates: time 0.004304/0.4802, allocations: 1.362 MB / 0.5279 GB, free: 13.49 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches