Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001192/0.001192, allocations: 114.4 kB / 17.78 MB, free: 5.27 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.001487/0.001487, allocations: 187 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.421/1.421, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2407/0.2407, allocations: 44.17 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4561, allocations: 60.82 MB / 0.5185 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00445/0.4607, allocations: 1.697 MB / 0.5202 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.4627, allocations: 0.8757 MB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.4628, allocations: 1.156 kB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.4634, allocations: 83.16 kB / 0.5211 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003699/0.4638, allocations: 78.41 kB / 0.5212 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.4643, allocations: 112.8 kB / 0.5213 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.4647, allocations: 114.8 kB / 0.5214 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.4648, allocations: 8.047 kB / 0.5214 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.4649, allocations: 51.06 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.4651, allocations: 54.34 kB / 0.5215 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.4652, allocations: 7.312 kB / 0.5215 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.4653, allocations: 42.52 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.4654, allocations: 25.39 kB / 0.5216 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.4655, allocations: 32.92 kB / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.4658, allocations: 125.8 kB / 0.5217 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4658, allocations: 0 / 0.5217 GB, free: 1.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4658, allocations: 0.9688 kB / 0.5217 GB, free: 1.227 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.4658, allocations: 0 / 0.5217 GB, free: 1.227 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007561/0.4666, allocations: 421.5 kB / 0.5221 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.471e-05/0.4667, allocations: 10.12 kB / 0.5221 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.096e-05/0.4667, allocations: 36.67 kB / 0.5222 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.268e-05/0.4668, allocations: 9.891 kB / 0.5222 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.4672, allocations: 216.9 kB / 0.5224 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.4673, allocations: 1.688 kB / 0.5224 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.4673, allocations: 6.219 kB / 0.5224 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.4675, allocations: 57.34 kB / 0.5224 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.4676, allocations: 1.281 kB / 0.5224 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.4676, allocations: 4.656 kB / 0.5225 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4676, allocations: 1.188 kB / 0.5225 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.4678, allocations: 30.31 kB / 0.5225 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.4682, allocations: 284.1 kB / 0.5228 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.4685, allocations: 56.86 kB / 0.5228 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/0.4686, allocations: 23.31 kB / 0.5228 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.4686, allocations: 4.938 kB / 0.5228 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.4689, allocations: 63.22 kB / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.4689, allocations: 0 / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008916/0.4698, allocations: 176.2 kB / 0.5231 GB, free: 15.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.4699, allocations: 53.42 kB / 0.5231 GB, free: 15.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/0.4702, allocations: 214.3 kB / 0.5233 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4703, allocations: 27.69 kB / 0.5233 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.4704, allocations: 116.5 kB / 0.5235 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.4704, allocations: 22.8 kB / 0.5235 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.4705, allocations: 24.73 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.4707, allocations: 323.5 kB / 0.5238 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.4708, allocations: 20.75 kB / 0.5238 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.4709, allocations: 43.91 kB / 0.5239 GB, free: 15.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.4711, allocations: 61.98 kB / 0.5239 GB, free: 15.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4711, allocations: 0 / 0.5239 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003249/0.4715, allocations: 101.5 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.4715, allocations: 7.234 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.4715, allocations: 0 / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.4716, allocations: 0.875 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.4717, allocations: 15.81 kB / 0.5241 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4717, allocations: 1.844 kB / 0.5241 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.151e-05/0.4718, allocations: 9.719 kB / 0.5241 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.4719, allocations: 3.406 kB / 0.5241 GB, free: 15.16 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 (10): * Single equations (assignments): 10 * 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.0001851/0.472, allocations: 131.9 kB / 0.5242 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.4721, allocations: 14.02 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.427e-05/0.4722, allocations: 17.22 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.4722, allocations: 5.234 kB / 0.5242 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.4722, allocations: 1.219 kB / 0.5242 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.4723, allocations: 4.547 kB / 0.5242 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008155/0.4731, allocations: 397.3 kB / 0.5246 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.4731, allocations: 0 / 0.5246 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.235e-05/0.4732, allocations: 16.41 kB / 0.5246 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.4732, allocations: 5.812 kB / 0.5246 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.4732, allocations: 2.312 kB / 0.5246 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4732, allocations: 1.406 kB / 0.5246 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4732, allocations: 1.25 kB / 0.5246 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.4736, allocations: 212.4 kB / 0.5248 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.022e-05/0.4737, allocations: 85.36 kB / 0.5249 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.4738, allocations: 11.03 kB / 0.5249 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.4739, allocations: 1.938 kB / 0.5249 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.474, allocations: 6.484 kB / 0.5249 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.474, allocations: 3.469 kB / 0.5249 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002515/0.4742, allocations: 161.8 kB / 0.5251 GB, free: 14.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4743, allocations: 0 / 0.5251 GB, free: 14.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004821/0.4748, allocations: 29.69 kB / 0.5251 GB, free: 14.25 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002224/0.477, allocations: 1.106 MB / 0.5262 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.4773, allocations: 53.22 kB / 0.5263 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.4773, allocations: 0 / 0.5263 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.4774, allocations: 32.59 kB / 0.5263 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.478, allocations: 32.47 kB / 0.5263 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.4814, allocations: 1.694 MB / 0.528 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/0.4819, allocations: 0.7038 MB / 0.5287 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.4821, allocations: 22.22 kB / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.4822, allocations: 38.48 kB / 0.5287 GB, free: 11.28 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4822, allocations: 0 / 0.5287 GB, free: 11.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.5114, allocations: 3.543 MB / 0.5322 GB, free: 9.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/8.074, allocations: 4.875 kB / 0.5322 GB, free: 9.699 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time