Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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.001034/0.001034, allocations: 110.4 kB / 17.78 MB, free: 5.25 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.0009814/0.0009814, allocations: 187.1 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.369/1.369, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2209/0.2209, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 68.12 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.4641, allocations: 60.82 MB / 0.5185 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002909/0.4671, allocations: 1.713 MB / 0.5202 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.4684, allocations: 0.8682 MB / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.4685, allocations: 1.406 kB / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.4688, allocations: 41 kB / 0.5211 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.4691, allocations: 59.03 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.4694, allocations: 108.9 kB / 0.5212 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.4696, allocations: 96.03 kB / 0.5213 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.4697, allocations: 7.594 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.38e-05/0.4698, allocations: 45.77 kB / 0.5214 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.865e-05/0.4699, allocations: 26.28 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.4699, allocations: 3.5 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.47, allocations: 50.53 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.4701, allocations: 26.73 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.488e-05/0.4701, allocations: 36.78 kB / 0.5215 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.4703, allocations: 110 kB / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4703, allocations: 0.7031 kB / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4704, allocations: 1.125 kB / 0.5216 GB, free: 1.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.4704, allocations: 0 / 0.5216 GB, free: 1.242 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.0005013/0.4709, allocations: 409.1 kB / 0.522 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4709, allocations: 9.312 kB / 0.522 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.638e-05/0.471, allocations: 37.08 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.471, allocations: 10.69 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.4712, allocations: 217.4 kB / 0.5223 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.4713, allocations: 2.688 kB / 0.5223 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.4713, allocations: 5.938 kB / 0.5223 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.4714, allocations: 55.2 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4715, allocations: 3.938 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.4715, allocations: 0 / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4715, allocations: 1.656 kB / 0.5223 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.4716, allocations: 23.08 kB / 0.5224 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.4719, allocations: 282 kB / 0.5226 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.4721, allocations: 61 kB / 0.5227 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.4721, allocations: 19.48 kB / 0.5227 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.4722, allocations: 0.7969 kB / 0.5227 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.4723, allocations: 70.06 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.4723, allocations: 0 / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005506/0.4729, allocations: 175.9 kB / 0.5229 GB, free: 28 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.473, allocations: 57.62 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.4732, allocations: 190.5 kB / 0.5232 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.4732, allocations: 26.92 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.4733, allocations: 112.1 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.4733, allocations: 28.89 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.4734, allocations: 23.09 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.4735, allocations: 321.1 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.335e-05/0.4736, allocations: 22.09 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.828e-05/0.4737, allocations: 34.69 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.4738, allocations: 58.59 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.4738, allocations: 0 / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001944/0.474, allocations: 109.5 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.474, allocations: 6.406 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.474, allocations: 0 / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4741, allocations: 5.188 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.746e-05/0.4742, allocations: 19.77 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4742, allocations: 1.062 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.4742, allocations: 6.516 kB / 0.5239 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.4742, allocations: 11.34 kB / 0.5239 GB, free: 15.18 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.0001061/0.4744, allocations: 121.1 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.4744, allocations: 10.28 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.4744, allocations: 14.83 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.4744, allocations: 2 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4745, allocations: 0 / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.4745, allocations: 5.656 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.475, allocations: 400.6 kB / 0.5244 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.475, allocations: 2.172 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.475, allocations: 8.422 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.475, allocations: 5 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.475, allocations: 1.938 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.475, allocations: 1.031 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4751, allocations: 1.844 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.4753, allocations: 208.4 kB / 0.5247 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.4754, allocations: 87.2 kB / 0.5247 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.4754, allocations: 4.688 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.4755, allocations: 9.156 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.4755, allocations: 4.516 kB / 0.5248 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.4755, allocations: 6.391 kB / 0.5248 GB, free: 14.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.4757, allocations: 145.6 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4757, allocations: 0 / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.4759, allocations: 24.11 kB / 0.5249 GB, free: 14.3 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.001472/0.4774, allocations: 1.108 MB / 0.526 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001872/0.4776, allocations: 56.83 kB / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4776, allocations: 0 / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.4e-05/0.4777, allocations: 28.11 kB / 0.5261 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.478, allocations: 25.64 kB / 0.5261 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.4798, allocations: 1.639 MB / 0.5277 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.4801, allocations: 0.7011 MB / 0.5284 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.428e-05/0.4802, allocations: 16.08 kB / 0.5284 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.4802, allocations: 36.78 kB / 0.5285 GB, free: 11.35 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4803, allocations: 0 / 0.5285 GB, free: 11.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.5034, allocations: 3.411 MB / 0.5318 GB, free: 9.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/8.022, allocations: 10.27 kB / 0.5318 GB, free: 9.871 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time