Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",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.001049/0.001049, 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.001008/0.001008, allocations: 187.8 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.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2421/0.2421, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 71.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4505, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.00327/0.4538, allocations: 1.709 MB / 0.5202 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.4553, allocations: 0.8724 MB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.4554, allocations: 1.188 kB / 0.521 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.4558, allocations: 47.2 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.456, allocations: 53.84 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.4564, allocations: 117.4 kB / 0.5212 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.4566, allocations: 99.38 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.4567, allocations: 12.19 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.4568, allocations: 45.34 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.4569, allocations: 26.59 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.4569, allocations: 3.156 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.457, allocations: 43 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.4571, allocations: 23.89 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.4572, allocations: 46.81 kB / 0.5215 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.4574, allocations: 114.5 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4574, allocations: 1.25 kB / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4574, allocations: 0 / 0.5216 GB, free: 1.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.4574, allocations: 0 / 0.5216 GB, free: 1.219 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.0005806/0.458, allocations: 432.5 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4581, allocations: 9.031 kB / 0.5221 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.4581, allocations: 32.88 kB / 0.5221 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.4582, allocations: 14.28 kB / 0.5221 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.4584, allocations: 211.8 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4585, allocations: 5.984 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.4585, allocations: 6.875 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.4586, allocations: 53.56 kB / 0.5224 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4587, allocations: 5.062 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4587, allocations: 0.7031 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4587, allocations: 1.094 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/0.4588, allocations: 22.84 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.4591, allocations: 288.7 kB / 0.5227 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.4593, allocations: 65.12 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.4594, allocations: 19.95 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.4594, allocations: 1.859 kB / 0.5228 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.4596, allocations: 65.47 kB / 0.5228 GB, free: 76 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.4596, allocations: 0 / 0.5228 GB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005823/0.4602, allocations: 173.9 kB / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.4602, allocations: 61 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.4605, allocations: 223.3 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4605, allocations: 26.92 kB / 0.5233 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.4606, allocations: 113.5 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4606, allocations: 21.59 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.4607, allocations: 21.94 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4608, allocations: 328.4 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.066e-05/0.4609, allocations: 21.12 kB / 0.5238 GB, free: 15.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.845e-05/0.461, allocations: 47.05 kB / 0.5238 GB, free: 15.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.4611, allocations: 61.66 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.4611, allocations: 1.5 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002285/0.4614, allocations: 105 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.4614, allocations: 5.406 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.4614, allocations: 1.719 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.4614, allocations: 4.781 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.4616, allocations: 14.83 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.4616, allocations: 1.844 kB / 0.524 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.4616, allocations: 14.84 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.4617, allocations: 2.781 kB / 0.524 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.0001824/0.4618, allocations: 138.7 kB / 0.5241 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.4619, allocations: 13.41 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.878e-05/0.4619, allocations: 19.05 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.462, allocations: 0.5938 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.462, allocations: 4.969 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.462, allocations: 4.688 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007697/0.4628, allocations: 393.2 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.4628, allocations: 1.188 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.4628, allocations: 9.125 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.4628, allocations: 5 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.4629, allocations: 2.484 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4629, allocations: 1.281 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.4629, allocations: 5.406 kB / 0.5246 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/0.4634, allocations: 205.1 kB / 0.5248 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.4635, allocations: 84.52 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.4635, allocations: 6.5 kB / 0.5249 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.4636, allocations: 8.062 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.4637, allocations: 4.891 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.4637, allocations: 9.031 kB / 0.5249 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002537/0.464, allocations: 173.8 kB / 0.525 GB, free: 14.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.464, allocations: 1.531 kB / 0.525 GB, free: 14.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003555/0.4643, allocations: 22.2 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.002121/0.4665, allocations: 1.108 MB / 0.5262 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.4667, allocations: 65.05 kB / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4667, allocations: 0 / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.744e-05/0.4668, allocations: 32.28 kB / 0.5262 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.4671, allocations: 26.91 kB / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.4693, allocations: 1.717 MB / 0.5279 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.4698, allocations: 0.7182 MB / 0.5286 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.457e-05/0.4699, allocations: 14.16 kB / 0.5287 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.4699, allocations: 38.23 kB / 0.5287 GB, free: 11.23 MB / 398.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4699, allocations: 2 kB / 0.5287 GB, free: 11.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.4932, allocations: 3.595 MB / 0.5322 GB, free: 9.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.6/8.093, allocations: 5.125 kB / 0.5322 GB, free: 9.641 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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