Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",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.001147/0.001147, 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.001207/0.001207, allocations: 184.1 kB / 18.71 MB, free: 4.34 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.418/1.418, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.2391/0.2391, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.457, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00334/0.4603, allocations: 1.713 MB / 0.5202 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.4618, allocations: 0.8761 MB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.374e-05/0.4619, allocations: 1.062 kB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.4623, allocations: 45.66 kB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.4625, allocations: 57.88 kB / 0.5211 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.4628, allocations: 106.2 kB / 0.5212 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.463, allocations: 100.4 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4631, allocations: 15.19 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.377e-05/0.4632, allocations: 41.81 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.4633, allocations: 29.95 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.4634, allocations: 3.5 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.4635, allocations: 42.25 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.4635, allocations: 22.05 kB / 0.5215 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.4636, allocations: 45.09 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.4638, allocations: 119.6 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4638, allocations: 0 / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4638, allocations: 4 kB / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.4639, allocations: 4.906 kB / 0.5216 GB, free: 1.211 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.0005089/0.4644, allocations: 426.8 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.4644, allocations: 10.12 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.124e-05/0.4645, allocations: 33.23 kB / 0.5221 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.4645, allocations: 13.38 kB / 0.5221 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.4647, allocations: 208.3 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.4648, allocations: 3.328 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.4648, allocations: 10.97 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.465, allocations: 57.75 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.465, allocations: 0 / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.465, allocations: 0 / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.465, allocations: 1.891 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.026e-05/0.4651, allocations: 17.86 kB / 0.5224 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.4654, allocations: 297.2 kB / 0.5227 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.4657, allocations: 61.47 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.4657, allocations: 20.12 kB / 0.5228 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.4658, allocations: 1.688 kB / 0.5228 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.4659, allocations: 65.05 kB / 0.5228 GB, free: 76 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.466, allocations: 0 / 0.5228 GB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007019/0.4667, allocations: 181.8 kB / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.4667, allocations: 57.22 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.4671, allocations: 222.8 kB / 0.5233 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.4671, allocations: 26.7 kB / 0.5233 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.4672, allocations: 109.9 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.4672, allocations: 17.28 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.4673, allocations: 26.42 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4675, allocations: 323 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.142e-05/0.4676, allocations: 29.66 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.675e-05/0.4677, allocations: 36.06 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.4678, allocations: 57.12 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4678, allocations: 0 / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002177/0.468, allocations: 107.3 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4681, allocations: 8.719 kB / 0.524 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4681, allocations: 6.141 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4681, allocations: 0 / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.4682, allocations: 19.89 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.4682, allocations: 2.016 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.4683, allocations: 6.984 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4683, allocations: 10.31 kB / 0.524 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.0001279/0.4684, allocations: 137.9 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.4685, allocations: 14.55 kB / 0.5242 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.4685, allocations: 18.11 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4685, allocations: 5.125 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4685, allocations: 0.7031 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4685, allocations: 5.312 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.4691, allocations: 401 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4691, allocations: 2.062 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.4691, allocations: 8.188 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.4691, allocations: 5.312 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4691, allocations: 1.906 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4692, allocations: 5.719 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4692, allocations: 0 / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.4694, allocations: 206 kB / 0.5248 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.4695, allocations: 86.69 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.4695, allocations: 6.328 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.4696, allocations: 2.141 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.4696, allocations: 13.02 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.4697, allocations: 3.969 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.4699, allocations: 175.6 kB / 0.5251 GB, free: 14.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4699, allocations: 0 / 0.5251 GB, free: 14.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.4701, allocations: 22.31 kB / 0.5251 GB, free: 14.22 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.001619/0.4718, allocations: 1.095 MB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.472, allocations: 69.11 kB / 0.5262 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.472, allocations: 4.062 kB / 0.5262 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.889e-05/0.4721, allocations: 24.14 kB / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.4724, allocations: 37.27 kB / 0.5263 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.4744, allocations: 1.718 MB / 0.528 GB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.4747, allocations: 0.7191 MB / 0.5287 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.778e-05/0.4748, allocations: 11.81 kB / 0.5287 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.4749, allocations: 36.52 kB / 0.5287 GB, free: 11.24 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4749, allocations: 0 / 0.5287 GB, free: 11.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.4957, allocations: 3.584 MB / 0.5322 GB, free: 9.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/8.178, allocations: 5.094 kB / 0.5322 GB, free: 9.664 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time