Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001545/0.001546, allocations: 183.1 kB / 18.71 MB, free: 4.344 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.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2343/0.2343, allocations: 44.17 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4553, allocations: 60.83 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003978/0.4593, allocations: 1.664 MB / 0.5201 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.4607, allocations: 0.8492 MB / 0.5209 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.4608, allocations: 1.062 kB / 0.521 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000453/0.4613, allocations: 60.98 kB / 0.521 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.4616, allocations: 69.7 kB / 0.5211 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.4619, allocations: 108.7 kB / 0.5212 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.4622, allocations: 94.25 kB / 0.5213 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.029e-05/0.4622, allocations: 4.609 kB / 0.5213 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.4624, allocations: 51.8 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.4625, allocations: 39.91 kB / 0.5214 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.4626, allocations: 2.25 kB / 0.5214 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.4627, allocations: 38.52 kB / 0.5214 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.4628, allocations: 18.67 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.999e-05/0.4629, allocations: 24.86 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.4632, allocations: 110.1 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.4632, allocations: 0 / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4632, allocations: 0 / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.4632, allocations: 5 kB / 0.5216 GB, free: 1.293 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000696/0.4639, allocations: 396 kB / 0.5219 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.464, allocations: 9.094 kB / 0.5219 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.464, allocations: 40.73 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.4641, allocations: 9.594 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.4644, allocations: 205.4 kB / 0.5222 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.4645, allocations: 5.375 kB / 0.5222 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.4645, allocations: 7.281 kB / 0.5222 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.4647, allocations: 57.55 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.4647, allocations: 0.875 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4647, allocations: 3.938 kB / 0.5223 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.4647, allocations: 1.578 kB / 0.5223 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.4648, allocations: 15.05 kB / 0.5223 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.4651, allocations: 178.9 kB / 0.5224 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.4653, allocations: 60.48 kB / 0.5225 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/0.4654, allocations: 19.48 kB / 0.5225 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.4654, allocations: 1.156 kB / 0.5225 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.4656, allocations: 68.89 kB / 0.5226 GB, free: 264 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.4656, allocations: 0 / 0.5226 GB, free: 264 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000335/0.4659, allocations: 95.83 kB / 0.5227 GB, free: 208 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.466, allocations: 53.14 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.4662, allocations: 185.2 kB / 0.5229 GB, free: 12 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.4662, allocations: 30.92 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.671e-05/0.4663, allocations: 103.8 kB / 0.523 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.4664, allocations: 15.81 kB / 0.523 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.4664, allocations: 20.48 kB / 0.5231 GB, free: 15.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4666, allocations: 324.6 kB / 0.5234 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.4667, allocations: 14.09 kB / 0.5234 GB, free: 15.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.4667, allocations: 30.69 kB / 0.5234 GB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.4668, allocations: 42.45 kB / 0.5235 GB, free: 15.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4669, allocations: 3.938 kB / 0.5235 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001726/0.467, allocations: 80.55 kB / 0.5235 GB, free: 15.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4671, allocations: 10.06 kB / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4671, allocations: 0 / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4671, allocations: 2.562 kB / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.4672, allocations: 10.05 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4672, allocations: 1.281 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.4672, allocations: 6.891 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4673, allocations: 2.938 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000112/0.4674, allocations: 131.4 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.4674, allocations: 9.406 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.4674, allocations: 14.45 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.4675, allocations: 5.094 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4675, allocations: 0.7031 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4675, allocations: 1.281 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.4676, allocations: 188.9 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4677, allocations: 3.938 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.4677, allocations: 5.266 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4677, allocations: 0 / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4677, allocations: 1.734 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4677, allocations: 1.188 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4677, allocations: 8.547 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.468, allocations: 108.9 kB / 0.524 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.4681, allocations: 88.53 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.4681, allocations: 0.5156 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.673e-05/0.4681, allocations: 7.5 kB / 0.5241 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.4682, allocations: 3.578 kB / 0.5241 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.4682, allocations: 2.938 kB / 0.5241 GB, free: 14.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.4684, allocations: 142.8 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4684, allocations: 0 / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.4686, allocations: 18.45 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001413/0.47, allocations: 0.9616 MB / 0.5252 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.4702, allocations: 43.88 kB / 0.5253 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4702, allocations: 1.406 kB / 0.5253 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/0.4703, allocations: 21.95 kB / 0.5253 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.4705, allocations: 25 kB / 0.5253 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.4723, allocations: 1.48 MB / 0.5268 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.4726, allocations: 0.7017 MB / 0.5274 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.841e-05/0.4727, allocations: 14.47 kB / 0.5275 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.4727, allocations: 28.55 kB / 0.5275 GB, free: 12.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4727, allocations: 0 / 0.5275 GB, free: 12.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.495, allocations: 3.113 MB / 0.5305 GB, free: 10.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/8.158, allocations: 18.59 kB / 0.5305 GB, free: 10.73 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time