Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.001429/0.001429, allocations: 113.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.001108/0.001107, allocations: 188.9 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.28/1.28, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2115/0.2115, allocations: 44.17 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 67.91 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4442, allocations: 60.82 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.004307/0.4486, allocations: 1.714 MB / 0.5202 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.4506, allocations: 0.8675 MB / 0.521 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.4508, allocations: 1.188 kB / 0.521 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.4512, allocations: 40.89 kB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.4516, allocations: 60.25 kB / 0.5211 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.4521, allocations: 108.8 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.4524, allocations: 96.2 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.4526, allocations: 7.734 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.4527, allocations: 45.22 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.4529, allocations: 30.88 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.4529, allocations: 2.812 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.4531, allocations: 51.19 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.652e-05/0.4533, allocations: 18.27 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.833e-05/0.4534, allocations: 37.25 kB / 0.5215 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004589/0.4538, allocations: 114 kB / 0.5216 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4539, allocations: 0 / 0.5216 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.119e-06/0.4539, allocations: 1.156 kB / 0.5216 GB, free: 1.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.4539, allocations: 0 / 0.5216 GB, free: 1.195 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.0007951/0.4547, allocations: 402.6 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.162e-05/0.4548, allocations: 9.438 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.189e-05/0.4548, allocations: 42 kB / 0.522 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.147e-05/0.4549, allocations: 9.062 kB / 0.5221 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.4554, allocations: 214.7 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.4554, allocations: 6.406 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.4555, allocations: 6.531 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.4557, allocations: 54.34 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.4557, allocations: 3.938 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.4558, allocations: 0 / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.4558, allocations: 2.453 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.4559, allocations: 21.7 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.4564, allocations: 281.7 kB / 0.5226 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.4566, allocations: 60.8 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.826e-05/0.4567, allocations: 20.16 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.4567, allocations: 5.031 kB / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.4569, allocations: 65.84 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.083e-06/0.4569, allocations: 1.531 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008006/0.4578, allocations: 170.9 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.4578, allocations: 57.03 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.4581, allocations: 190.3 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.4582, allocations: 26.8 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.3e-05/0.4582, allocations: 104 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.4583, allocations: 29.39 kB / 0.5233 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.4584, allocations: 30.41 kB / 0.5233 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002573/0.4587, allocations: 322.5 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.215e-05/0.4588, allocations: 20.8 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.4589, allocations: 39.81 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.4591, allocations: 57.69 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4591, allocations: 0 / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002999/0.4594, allocations: 106.6 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.4594, allocations: 5.75 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.4595, allocations: 4 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.4595, allocations: 1.094 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.4596, allocations: 20.3 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4596, allocations: 5.094 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.019e-05/0.4597, allocations: 10.98 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.4598, allocations: 7.281 kB / 0.5239 GB, free: 15.13 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.000148/0.4599, allocations: 125 kB / 0.524 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.46, allocations: 9.172 kB / 0.524 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.208e-05/0.46, allocations: 15.31 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.4601, allocations: 1.062 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4601, allocations: 2.031 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.4601, allocations: 3.938 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.4607, allocations: 398.3 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4607, allocations: 0 / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.4608, allocations: 9.875 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4608, allocations: 3.938 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.4608, allocations: 2.594 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4609, allocations: 1.5 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4609, allocations: 1.25 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.4612, allocations: 208.4 kB / 0.5247 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.4613, allocations: 85.23 kB / 0.5247 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.4614, allocations: 5.797 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.4615, allocations: 8.234 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.4616, allocations: 4.562 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.4616, allocations: 4.828 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.4618, allocations: 142.3 kB / 0.5249 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4618, allocations: 1.312 kB / 0.5249 GB, free: 14.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004731/0.4623, allocations: 29.62 kB / 0.5249 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.002285/0.4646, allocations: 1.095 MB / 0.526 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.4649, allocations: 60.22 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4649, allocations: 0 / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.465, allocations: 28.36 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.4656, allocations: 34.14 kB / 0.5261 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.4688, allocations: 1.636 MB / 0.5277 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.4694, allocations: 0.7051 MB / 0.5284 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.4695, allocations: 15.81 kB / 0.5284 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.4696, allocations: 35.72 kB / 0.5285 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4696, allocations: 0 / 0.5285 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.4945, allocations: 3.41 MB / 0.5318 GB, free: 9.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.338/7.832, allocations: 13.34 kB / 0.5318 GB, free: 9.824 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time