Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",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.001051/0.001055, allocations: 114.4 kB / 17.78 MB, free: 5.246 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.001099/0.001099, allocations: 187.8 kB / 18.71 MB, free: 4.324 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.461/1.461, 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.2371/0.2371, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.91 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4682, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.004011/0.4722, allocations: 1.701 MB / 0.5202 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.4741, allocations: 0.8799 MB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.708e-05/0.4742, allocations: 1.375 kB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.4746, allocations: 37.69 kB / 0.5211 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.4749, allocations: 56.45 kB / 0.5211 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.4752, allocations: 117.3 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.4754, allocations: 95.84 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.4755, allocations: 8.781 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.4756, allocations: 48.47 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.4757, allocations: 26.27 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.4757, allocations: 4.781 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.4758, allocations: 41.81 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.4759, allocations: 23.95 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.476, allocations: 33.16 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.4762, allocations: 119.3 kB / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4762, allocations: 0 / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4762, allocations: 0 / 0.5216 GB, free: 1.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4762, allocations: 1.062 kB / 0.5216 GB, free: 1.199 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.0005342/0.4768, allocations: 413.5 kB / 0.522 GB, free: 0.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4768, allocations: 8.688 kB / 0.522 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.4769, allocations: 36.64 kB / 0.5221 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.4769, allocations: 14.25 kB / 0.5221 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.4773, allocations: 208.2 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.4773, allocations: 5.312 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.4773, allocations: 6.875 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.4775, allocations: 62.11 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.4776, allocations: 4 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.4776, allocations: 0.8125 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4776, allocations: 1.125 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.4777, allocations: 18.08 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.4782, allocations: 288.7 kB / 0.5226 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.4784, allocations: 60.47 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.874e-05/0.4785, allocations: 22.75 kB / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.4785, allocations: 1.766 kB / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.4787, allocations: 70.22 kB / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.4787, allocations: 0 / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007499/0.4795, allocations: 172.7 kB / 0.5229 GB, free: 15.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.4796, allocations: 57.14 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.4798, allocations: 209 kB / 0.5232 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.4799, allocations: 26.73 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.48, allocations: 103.7 kB / 0.5233 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.48, allocations: 26.14 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.4801, allocations: 22.08 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4802, allocations: 322.6 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.4803, allocations: 26.41 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.119e-05/0.4804, allocations: 47.03 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.4805, allocations: 52.52 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4805, allocations: 1.5 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002022/0.4807, allocations: 102.4 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4807, allocations: 4.406 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.4808, allocations: 5.422 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4808, allocations: 0.5625 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4809, allocations: 23.39 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4809, allocations: 1.469 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.811e-05/0.481, allocations: 8.203 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.481, allocations: 6.969 kB / 0.5239 GB, free: 15.12 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.0001171/0.4811, allocations: 126.4 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.4811, allocations: 12.88 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.663e-05/0.4812, allocations: 16.31 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4812, allocations: 1.375 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4812, allocations: 6.234 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4812, allocations: 4.125 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.4817, allocations: 391.6 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4818, allocations: 3.938 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.4818, allocations: 9.422 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.4818, allocations: 4.688 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.4818, allocations: 6.422 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4818, allocations: 0.8438 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4818, allocations: 1.094 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.4821, allocations: 205.6 kB / 0.5247 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.4822, allocations: 84.22 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.4822, allocations: 10.88 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.4823, allocations: 3.562 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.4823, allocations: 4.891 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.4823, allocations: 4.047 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.4825, allocations: 155.1 kB / 0.525 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.325e-06/0.4825, allocations: 1.844 kB / 0.525 GB, free: 14.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.4827, allocations: 29.75 kB / 0.525 GB, free: 14.23 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.001635/0.4844, allocations: 1.097 MB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.4846, allocations: 57.34 kB / 0.5261 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4846, allocations: 0 / 0.5261 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.765e-05/0.4847, allocations: 37.02 kB / 0.5261 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.4851, allocations: 36.31 kB / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.4873, allocations: 1.656 MB / 0.5278 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.4877, allocations: 0.7105 MB / 0.5285 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.147e-05/0.4877, allocations: 16.86 kB / 0.5285 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.4878, allocations: 36.48 kB / 0.5285 GB, free: 11.27 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4878, allocations: 0 / 0.5285 GB, free: 11.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.5109, allocations: 3.476 MB / 0.5319 GB, free: 9.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/8.081, allocations: 8.844 kB / 0.5319 GB, free: 9.746 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time