Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.001546/0.001546, allocations: 109.5 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.001515/0.001515, allocations: 188.8 kB / 18.71 MB, free: 4.348 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.483/1.483, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2579/0.2579, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 67.91 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4421, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00325/0.4454, allocations: 1.727 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.4469, allocations: 0.877 MB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.447, allocations: 1.188 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.4475, allocations: 101.8 kB / 0.5212 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.4478, allocations: 85.41 kB / 0.5212 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.4481, allocations: 121.8 kB / 0.5214 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.4484, allocations: 121 kB / 0.5215 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.4485, allocations: 26.31 kB / 0.5215 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.4486, allocations: 58.89 kB / 0.5216 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.4488, allocations: 65.88 kB / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.4488, allocations: 4.938 kB / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.449, allocations: 63.45 kB / 0.5217 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.95e-05/0.4491, allocations: 29.02 kB / 0.5217 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.4491, allocations: 47.75 kB / 0.5218 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.4494, allocations: 150 kB / 0.5219 GB, free: 1.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4494, allocations: 5.016 kB / 0.5219 GB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4494, allocations: 4 kB / 0.5219 GB, free: 1.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.4495, allocations: 1.156 kB / 0.5219 GB, free: 1.145 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000585/0.45, allocations: 444 kB / 0.5223 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4501, allocations: 8.812 kB / 0.5223 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.4501, allocations: 33.94 kB / 0.5224 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.4502, allocations: 15.59 kB / 0.5224 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.4505, allocations: 229.8 kB / 0.5226 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.4506, allocations: 1.562 kB / 0.5226 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.4506, allocations: 15.7 kB / 0.5226 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.4508, allocations: 62.33 kB / 0.5227 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.4509, allocations: 0 / 0.5227 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.4509, allocations: 5.219 kB / 0.5227 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.4509, allocations: 1.766 kB / 0.5227 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.4511, allocations: 32.48 kB / 0.5227 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.4517, allocations: 322.2 kB / 0.523 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.452, allocations: 71.89 kB / 0.5231 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.879e-05/0.4521, allocations: 31.84 kB / 0.5231 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.4521, allocations: 2.406 kB / 0.5231 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.4524, allocations: 74.8 kB / 0.5232 GB, free: 15.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.4524, allocations: 0 / 0.5232 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001094/0.4535, allocations: 275.8 kB / 0.5235 GB, free: 15.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.4536, allocations: 57.45 kB / 0.5235 GB, free: 15.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.4539, allocations: 244.2 kB / 0.5238 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.4539, allocations: 31.73 kB / 0.5238 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.454, allocations: 111.7 kB / 0.5239 GB, free: 15.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.4541, allocations: 35.73 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.4541, allocations: 30.34 kB / 0.524 GB, free: 15.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4543, allocations: 327.9 kB / 0.5243 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.141e-05/0.4544, allocations: 33.81 kB / 0.5243 GB, free: 15.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.4545, allocations: 59.75 kB / 0.5244 GB, free: 15.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.4547, allocations: 90.23 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4547, allocations: 0 / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002576/0.455, allocations: 137.4 kB / 0.5246 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.455, allocations: 10.61 kB / 0.5246 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.455, allocations: 4.031 kB / 0.5246 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.455, allocations: 1.375 kB / 0.5246 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.939e-05/0.4551, allocations: 29.64 kB / 0.5246 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4551, allocations: 1.562 kB / 0.5246 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.4552, allocations: 3.531 kB / 0.5246 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.4552, allocations: 4.141 kB / 0.5246 GB, free: 14.93 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 (14): * Single equations (assignments): 14 * 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.0001303/0.4554, allocations: 140.4 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.483e-05/0.4554, allocations: 16.67 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.4555, allocations: 23.12 kB / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.4555, allocations: 6.125 kB / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4555, allocations: 4.734 kB / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4555, allocations: 1.859 kB / 0.5248 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.4562, allocations: 472.2 kB / 0.5253 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4562, allocations: 0.6562 kB / 0.5253 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.4562, allocations: 19.86 kB / 0.5253 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.4562, allocations: 5.562 kB / 0.5253 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4563, allocations: 3.25 kB / 0.5253 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4563, allocations: 2.906 kB / 0.5253 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4563, allocations: 0 / 0.5253 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.4566, allocations: 253.4 kB / 0.5255 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.4567, allocations: 91.67 kB / 0.5256 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.4567, allocations: 8.656 kB / 0.5256 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.4568, allocations: 4.547 kB / 0.5256 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.4568, allocations: 7.453 kB / 0.5256 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.4569, allocations: 6.203 kB / 0.5256 GB, free: 14.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001738/0.4571, allocations: 188.4 kB / 0.5258 GB, free: 13.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4571, allocations: 0 / 0.5258 GB, free: 13.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.4574, allocations: 35.41 kB / 0.5259 GB, free: 13.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00174/0.4591, allocations: 1.192 MB / 0.527 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.4594, allocations: 96.39 kB / 0.5271 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4594, allocations: 0 / 0.5271 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.4595, allocations: 47.88 kB / 0.5272 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.4599, allocations: 31.09 kB / 0.5272 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.4626, allocations: 1.933 MB / 0.5291 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.463, allocations: 0.7216 MB / 0.5298 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.4631, allocations: 23.09 kB / 0.5298 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-05/0.4632, allocations: 45.75 kB / 0.5298 GB, free: 10.8 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4632, allocations: 4 kB / 0.5298 GB, free: 10.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.4889, allocations: 4.154 MB / 0.5339 GB, free: 8.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.178, allocations: 16.66 kB / 0.5339 GB, free: 8.785 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),t_new.columns[1],t_new.columns[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time