Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",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.00123/0.00123, allocations: 110.4 kB / 17.78 MB, free: 5.293 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.001319/0.001319, allocations: 187 kB / 18.71 MB, free: 4.363 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.428/1.428, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2449/0.2449, allocations: 44.17 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001452, allocations: 71.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.4541, allocations: 60.84 MB / 0.5185 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003387/0.4576, allocations: 1.663 MB / 0.5201 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.4592, allocations: 0.8537 MB / 0.521 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.752e-05/0.4593, allocations: 0 / 0.521 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004486/0.4598, allocations: 62.41 kB / 0.521 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.4601, allocations: 68.88 kB / 0.5211 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.4605, allocations: 108 kB / 0.5212 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.4607, allocations: 99.3 kB / 0.5213 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.311e-05/0.4608, allocations: 5.25 kB / 0.5213 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.4609, allocations: 46.53 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.4611, allocations: 40.64 kB / 0.5214 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.4611, allocations: 2.281 kB / 0.5214 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.4612, allocations: 39.09 kB / 0.5214 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.4613, allocations: 20.81 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.4614, allocations: 32.77 kB / 0.5215 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.4616, allocations: 98.97 kB / 0.5216 GB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4616, allocations: 0 / 0.5216 GB, free: 1.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4617, allocations: 0 / 0.5216 GB, free: 1.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.4617, allocations: 1.25 kB / 0.5216 GB, free: 1.301 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.000616/0.4623, allocations: 399.8 kB / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/0.4624, allocations: 9.656 kB / 0.5219 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.4624, allocations: 35.77 kB / 0.522 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.4625, allocations: 13.47 kB / 0.522 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.4628, allocations: 205.9 kB / 0.5222 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.4628, allocations: 5.922 kB / 0.5222 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.4628, allocations: 6.094 kB / 0.5222 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.463, allocations: 46.91 kB / 0.5222 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.463, allocations: 0 / 0.5222 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.463, allocations: 4.641 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4631, allocations: 1.438 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.251e-05/0.4631, allocations: 14.38 kB / 0.5223 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.4634, allocations: 190.1 kB / 0.5224 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.4635, allocations: 57.5 kB / 0.5225 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.4636, allocations: 23.97 kB / 0.5225 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.4636, allocations: 1.031 kB / 0.5225 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.4638, allocations: 72.45 kB / 0.5226 GB, free: 264 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.4638, allocations: 0 / 0.5226 GB, free: 264 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002993/0.4641, allocations: 92.06 kB / 0.5227 GB, free: 212 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.4642, allocations: 56.41 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.4644, allocations: 190.8 kB / 0.5229 GB, free: 8 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.4645, allocations: 25.7 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.4645, allocations: 100.3 kB / 0.523 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.4646, allocations: 19.59 kB / 0.5231 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.4646, allocations: 23.39 kB / 0.5231 GB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4648, allocations: 322.2 kB / 0.5234 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.452e-05/0.4648, allocations: 12.83 kB / 0.5234 GB, free: 15.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.4649, allocations: 26.91 kB / 0.5234 GB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.465, allocations: 42.48 kB / 0.5235 GB, free: 15.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.465, 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.0001717/0.4652, allocations: 85.05 kB / 0.5235 GB, free: 15.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4653, allocations: 5.969 kB / 0.5236 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4653, allocations: 0 / 0.5236 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.4653, allocations: 1.719 kB / 0.5236 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.4654, allocations: 10.23 kB / 0.5236 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4654, allocations: 5.188 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.4654, allocations: 7.141 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.4655, allocations: 2.969 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.0001255/0.4656, allocations: 128.6 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.4656, allocations: 8.891 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.4657, allocations: 14.64 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4657, allocations: 0.7031 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4657, allocations: 1.156 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4657, allocations: 0 / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.4659, allocations: 194.3 kB / 0.5239 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4659, allocations: 3.938 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.282e-05/0.4659, allocations: 7.406 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4659, allocations: 1.406 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.466, allocations: 6.266 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.466, allocations: 0 / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.466, allocations: 0.7969 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.4662, allocations: 112.9 kB / 0.524 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.4662, allocations: 84.22 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.4663, allocations: 2.219 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.4663, allocations: 2.406 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.4663, allocations: 3.094 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.4664, allocations: 6.828 kB / 0.5241 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.4665, allocations: 139.3 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4665, allocations: 0 / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.4668, allocations: 18.7 kB / 0.5243 GB, free: 14.76 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.001335/0.4681, allocations: 0.962 MB / 0.5252 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.4683, allocations: 39.06 kB / 0.5253 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4683, allocations: 0 / 0.5253 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.891e-05/0.4684, allocations: 22.55 kB / 0.5253 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.4687, allocations: 25.88 kB / 0.5253 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.4704, allocations: 1.476 MB / 0.5267 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.4708, allocations: 0.7005 MB / 0.5274 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.042e-05/0.4708, allocations: 14.95 kB / 0.5274 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.4709, allocations: 32.72 kB / 0.5275 GB, free: 12.03 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4709, allocations: 0 / 0.5275 GB, free: 12.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.4923, allocations: 3.106 MB / 0.5305 GB, free: 10.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/8.083, allocations: 28.14 kB / 0.5305 GB, free: 10.76 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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