Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.001026/0.001026, allocations: 110.4 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.001004/0.001004, allocations: 183.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.381/1.381, 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.2303/0.2303, allocations: 44.17 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 63.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4569, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003283/0.4602, allocations: 1.668 MB / 0.5201 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.4617, allocations: 0.8564 MB / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.97e-05/0.4618, allocations: 1.156 kB / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.4622, allocations: 61.28 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.4625, allocations: 69.55 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.4628, allocations: 103.4 kB / 0.5212 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.463, allocations: 95.84 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.778e-05/0.4631, allocations: 3.953 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.4632, allocations: 55.72 kB / 0.5213 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/0.4633, allocations: 44.05 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.4633, allocations: 3.344 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.4635, allocations: 30.61 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.254e-05/0.4635, allocations: 21.94 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.4636, allocations: 27.61 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.4638, allocations: 103.1 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4638, allocations: 0 / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4638, allocations: 0 / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.4638, allocations: 0 / 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.0004902/0.4643, allocations: 400.6 kB / 0.5219 GB, free: 0.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4644, allocations: 10.66 kB / 0.5219 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.628e-05/0.4644, allocations: 31.5 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.4645, allocations: 9 kB / 0.522 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.4647, allocations: 214.2 kB / 0.5222 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.4647, allocations: 1.562 kB / 0.5222 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.4647, allocations: 10.3 kB / 0.5222 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.4649, allocations: 46.52 kB / 0.5222 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4649, allocations: 5.156 kB / 0.5222 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.4649, allocations: 3.938 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4649, allocations: 1.062 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.737e-05/0.465, allocations: 14.7 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.4652, allocations: 183 kB / 0.5224 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.4654, allocations: 61.31 kB / 0.5225 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.4654, allocations: 26.58 kB / 0.5225 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.4655, allocations: 1.797 kB / 0.5225 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.4656, allocations: 61.03 kB / 0.5226 GB, free: 244 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.4656, allocations: 0 / 0.5226 GB, free: 244 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002923/0.4659, allocations: 95.7 kB / 0.5227 GB, free: 188 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.466, allocations: 53.23 kB / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.4662, allocations: 193.4 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.4662, allocations: 26.73 kB / 0.5229 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.4663, allocations: 98.7 kB / 0.523 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.4663, allocations: 20.55 kB / 0.523 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.4664, allocations: 19.47 kB / 0.5231 GB, free: 15.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4665, allocations: 325.6 kB / 0.5234 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.4666, allocations: 13.95 kB / 0.5234 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.155e-05/0.4667, allocations: 26.41 kB / 0.5234 GB, free: 15.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.4668, allocations: 46.34 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.4668, allocations: 9.031 kB / 0.5235 GB, free: 15.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001641/0.467, allocations: 79.17 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.467, allocations: 5.688 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.467, allocations: 1.797 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.467, allocations: 0 / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.4671, allocations: 14.91 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4671, allocations: 5.953 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.4672, allocations: 3.094 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.4672, allocations: 2.25 kB / 0.5236 GB, free: 15.38 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.0001156/0.4673, allocations: 124.5 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.4673, allocations: 9.234 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.4674, allocations: 14.2 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4674, allocations: 1.031 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4674, allocations: 0 / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4674, allocations: 2.047 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.4676, allocations: 193.1 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4676, allocations: 7.938 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.4677, allocations: 3.922 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.4677, allocations: 1.766 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4677, allocations: 1.922 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4677, allocations: 0 / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4677, allocations: 0.5625 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.4679, allocations: 113.2 kB / 0.524 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.468, allocations: 88.17 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.468, allocations: 1.953 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.4681, allocations: 2.562 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.4681, allocations: 7.609 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.4681, allocations: 6.844 kB / 0.5241 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.4683, allocations: 139.5 kB / 0.5243 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4683, allocations: 0 / 0.5243 GB, free: 14.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.4685, allocations: 13.75 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.001519/0.4701, allocations: 0.964 MB / 0.5252 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.4702, allocations: 39.94 kB / 0.5253 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4703, allocations: 0 / 0.5253 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.4703, allocations: 26.2 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.0002849/0.4706, allocations: 33.97 kB / 0.5253 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.4722, allocations: 1.473 MB / 0.5268 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.4725, allocations: 0.7013 MB / 0.5274 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.954e-05/0.4726, allocations: 10.33 kB / 0.5274 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.4726, allocations: 32.95 kB / 0.5275 GB, free: 12 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4727, allocations: 4 kB / 0.5275 GB, free: 12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.4938, allocations: 3.115 MB / 0.5305 GB, free: 10.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/8.013, allocations: 13.19 kB / 0.5305 GB, free: 10.71 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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