Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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.00109/0.00109, allocations: 114.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.001216/0.001216, 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.442/1.442, 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.234/0.234, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 63.91 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4877/0.4901, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002828/0.4929, allocations: 1.667 MB / 0.5201 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.4941, allocations: 0.8526 MB / 0.5209 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.4942, allocations: 1.062 kB / 0.5209 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.4944, allocations: 59.34 kB / 0.521 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.4946, allocations: 73.84 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.4948, allocations: 104.2 kB / 0.5212 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.495, allocations: 94.34 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.946e-05/0.495, allocations: 5.047 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.308e-05/0.4951, allocations: 50.78 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.4952, allocations: 43.08 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.4952, allocations: 3.156 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.879e-05/0.4953, allocations: 35.47 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.4954, allocations: 21.98 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.4955, allocations: 23.77 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.4957, allocations: 106.8 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4957, allocations: 0 / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4957, allocations: 0 / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.4957, allocations: 5.156 kB / 0.5215 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.0004683/0.4962, allocations: 395.8 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4962, allocations: 9.75 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.4962, allocations: 36.58 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.4963, allocations: 12.72 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.4965, allocations: 205.7 kB / 0.5222 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4965, allocations: 2.344 kB / 0.5222 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.4965, allocations: 6.219 kB / 0.5222 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.4967, allocations: 54.83 kB / 0.5222 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4967, allocations: 3.938 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.4967, allocations: 0.5156 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4967, allocations: 0.9375 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.747e-05/0.4968, allocations: 14.98 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.4969, allocations: 186.9 kB / 0.5224 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.4971, allocations: 56.5 kB / 0.5225 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.4972, allocations: 20.33 kB / 0.5225 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.4972, allocations: 1.094 kB / 0.5225 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.4973, allocations: 76.2 kB / 0.5226 GB, free: 240 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.4974, allocations: 0 / 0.5226 GB, free: 240 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002615/0.4976, allocations: 92.12 kB / 0.5227 GB, free: 188 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.4977, allocations: 52.47 kB / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.4979, allocations: 187 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.4979, allocations: 31.14 kB / 0.5229 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.4979, allocations: 102.9 kB / 0.523 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.498, allocations: 14.7 kB / 0.523 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.498, allocations: 24.02 kB / 0.5231 GB, free: 15.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4982, allocations: 322.3 kB / 0.5234 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.228e-05/0.4982, allocations: 12.92 kB / 0.5234 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.973e-05/0.4983, allocations: 31.05 kB / 0.5234 GB, free: 15.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.837e-05/0.4984, allocations: 42.59 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4984, allocations: 3.938 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001653/0.4986, allocations: 84.64 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.4986, allocations: 5.531 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4986, allocations: 1.188 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4986, allocations: 1.906 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.4987, allocations: 9.406 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4987, allocations: 5.828 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.4988, allocations: 3.062 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.4988, allocations: 2 kB / 0.5236 GB, free: 15.39 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.0001139/0.4989, allocations: 137.5 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.4989, allocations: 8.625 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.499, allocations: 10.88 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.499, allocations: 3.938 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.499, allocations: 1.188 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.499, allocations: 0.7031 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.4992, allocations: 192.5 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4992, allocations: 1.125 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.4992, allocations: 3.719 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4992, allocations: 2.234 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.4992, allocations: 4.797 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4992, allocations: 5.094 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4992, allocations: 0 / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.4994, allocations: 109.1 kB / 0.524 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.4995, allocations: 88.3 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.4995, allocations: 1.984 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.4996, allocations: 6.219 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.4996, allocations: 7.781 kB / 0.5241 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.4996, allocations: 3.016 kB / 0.5241 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.4998, allocations: 139.9 kB / 0.5243 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4998, allocations: 0 / 0.5243 GB, free: 14.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002111/0.5, allocations: 18.19 kB / 0.5243 GB, free: 14.73 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.001354/0.5013, allocations: 0.9575 MB / 0.5252 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.5015, allocations: 41.12 kB / 0.5253 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5015, allocations: 3.938 kB / 0.5253 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.5016, allocations: 22.03 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.5019, allocations: 24.7 kB / 0.5253 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.5037, allocations: 1.49 MB / 0.5268 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.5041, allocations: 0.6978 MB / 0.5274 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.977e-05/0.5042, allocations: 14.78 kB / 0.5275 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.5043, allocations: 29.55 kB / 0.5275 GB, free: 12 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5043, allocations: 0 / 0.5275 GB, free: 12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.529, allocations: 3.1 MB / 0.5305 GB, free: 10.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.501/8.03, allocations: 16.05 kB / 0.5305 GB, free: 10.74 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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