Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",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.001514/0.001514, allocations: 109.5 kB / 17.78 MB, free: 5.309 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.001518/0.001518, allocations: 188 kB / 18.71 MB, free: 4.387 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.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.1993/0.1993, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 71.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3825, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002698/0.3852, allocations: 1.659 MB / 0.5201 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3864, allocations: 0.8538 MB / 0.5209 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.3865, allocations: 5.062 kB / 0.521 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.3868, allocations: 76.34 kB / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.387, allocations: 79.8 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.3873, allocations: 111.6 kB / 0.5212 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.3875, allocations: 98 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.3875, allocations: 9.328 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.591e-05/0.3876, allocations: 49.88 kB / 0.5214 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.3877, allocations: 52.28 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.3878, allocations: 2.219 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.659e-05/0.3878, allocations: 33.98 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.3879, allocations: 20.5 kB / 0.5215 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.3879, allocations: 36.47 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3881, allocations: 101.9 kB / 0.5216 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3881, allocations: 4 kB / 0.5216 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3881, allocations: 1.156 kB / 0.5216 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3881, allocations: 0 / 0.5216 GB, free: 1.273 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.0004563/0.3886, allocations: 418.7 kB / 0.522 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3887, allocations: 9.812 kB / 0.522 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.3887, allocations: 33.17 kB / 0.522 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.3887, allocations: 8.812 kB / 0.522 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.389, allocations: 210.7 kB / 0.5223 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.389, allocations: 6.141 kB / 0.5223 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.389, allocations: 6.062 kB / 0.5223 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.3891, allocations: 46.64 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3891, allocations: 0 / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3892, allocations: 1.828 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3892, allocations: 0 / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.582e-05/0.3892, allocations: 15.52 kB / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.3894, allocations: 193.4 kB / 0.5225 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.3895, allocations: 65.08 kB / 0.5226 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.3896, allocations: 19.17 kB / 0.5226 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3896, allocations: 5.281 kB / 0.5226 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.3898, allocations: 59.83 kB / 0.5226 GB, free: 232 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.3898, allocations: 0 / 0.5226 GB, free: 232 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002645/0.39, allocations: 101.3 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.3901, allocations: 51.97 kB / 0.5228 GB, free: 108 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3903, allocations: 212 kB / 0.523 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.3903, allocations: 29.7 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.3904, allocations: 100.6 kB / 0.5231 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.3904, allocations: 15.16 kB / 0.5231 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.3905, allocations: 20.5 kB / 0.5232 GB, free: 15.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3906, allocations: 321.8 kB / 0.5235 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.195e-05/0.3906, allocations: 22.19 kB / 0.5235 GB, free: 15.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.582e-05/0.3907, allocations: 26.31 kB / 0.5235 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.921e-05/0.3908, allocations: 46.28 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3908, allocations: 4.594 kB / 0.5236 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001547/0.391, allocations: 80.02 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.391, allocations: 5.594 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.391, allocations: 5.312 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.391, allocations: 2.188 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.3911, allocations: 13.22 kB / 0.5237 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3911, allocations: 5.781 kB / 0.5237 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.3912, allocations: 10.75 kB / 0.5237 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.3912, allocations: 2.188 kB / 0.5237 GB, free: 15.36 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.0001044/0.3913, allocations: 128.4 kB / 0.5238 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.3913, allocations: 9.688 kB / 0.5238 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.3914, allocations: 20.19 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3914, allocations: 0 / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3914, allocations: 5.25 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3914, allocations: 0.9219 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.3916, allocations: 188.6 kB / 0.524 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3916, allocations: 4 kB / 0.524 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.3916, allocations: 4.516 kB / 0.524 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3916, allocations: 0 / 0.524 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3916, allocations: 6.172 kB / 0.524 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3916, allocations: 4.938 kB / 0.524 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3916, allocations: 0 / 0.524 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.3918, allocations: 121.3 kB / 0.5241 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.3919, allocations: 88.36 kB / 0.5242 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.3919, allocations: 6.375 kB / 0.5242 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.539e-05/0.3919, allocations: 2.516 kB / 0.5242 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.392, allocations: 3.328 kB / 0.5242 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.392, allocations: 3 kB / 0.5242 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.3921, allocations: 155.7 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3922, allocations: 4 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.3924, allocations: 18.55 kB / 0.5244 GB, free: 14.7 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.001221/0.3936, allocations: 0.9453 MB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.3938, allocations: 41.2 kB / 0.5254 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3938, allocations: 4.062 kB / 0.5254 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.3939, allocations: 20.8 kB / 0.5254 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.3941, allocations: 25.89 kB / 0.5254 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.3958, allocations: 1.543 MB / 0.5269 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3962, allocations: 0.7045 MB / 0.5276 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.696e-05/0.3962, allocations: 10.56 kB / 0.5276 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.3963, allocations: 32.02 kB / 0.5277 GB, free: 11.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3963, allocations: 2.125 kB / 0.5277 GB, free: 11.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.4175, allocations: 3.224 MB / 0.5308 GB, free: 10.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.147, allocations: 20.44 kB / 0.5308 GB, free: 10.58 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.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