Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001209, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 241.6 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 99.27 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4274/0.4274, allocations: 44.12 MB / 386.1 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 60 kB / 457.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4688, allocations: 60.8 MB / 0.5064 GB, free: 38.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003501/0.4723, allocations: 1.756 MB / 0.5081 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.4749, allocations: 1.457 MB / 0.5095 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.475, allocations: 0 / 0.5095 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.4754, allocations: 38.11 kB / 0.5096 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.4757, allocations: 50.06 kB / 0.5096 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.476, allocations: 91.69 kB / 0.5097 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.4762, allocations: 92.27 kB / 0.5098 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.4764, allocations: 16.11 kB / 0.5098 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.859e-05/0.4765, allocations: 41.44 kB / 0.5098 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.4767, allocations: 38.08 kB / 0.5099 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.4768, allocations: 2.688 kB / 0.5099 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.4769, allocations: 59.48 kB / 0.5099 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.176e-05/0.477, allocations: 16.92 kB / 0.51 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.477, allocations: 31.98 kB / 0.51 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.4773, allocations: 116.1 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4773, allocations: 2.875 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4773, allocations: 0 / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.4773, allocations: 0 / 0.5101 GB, free: 35.64 MB / 378.7 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.0007228/0.4781, allocations: 402.2 kB / 0.5105 GB, free: 35.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.4781, allocations: 8.719 kB / 0.5105 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.4782, allocations: 14.75 kB / 0.5105 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.4785, allocations: 200.5 kB / 0.5107 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.4785, allocations: 7.156 kB / 0.5107 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.4785, allocations: 7.062 kB / 0.5107 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.4787, allocations: 68.61 kB / 0.5108 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.4788, allocations: 3.234 kB / 0.5108 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.4788, allocations: 0 / 0.5108 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4788, allocations: 0 / 0.5108 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.42e-05/0.4789, allocations: 23.33 kB / 0.5108 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.4793, allocations: 281.8 kB / 0.5111 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.4795, allocations: 67.41 kB / 0.5111 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.4796, allocations: 23.92 kB / 0.5112 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.4796, allocations: 4 kB / 0.5112 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.4799, allocations: 68.81 kB / 0.5112 GB, free: 34.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.4799, allocations: 0 / 0.5112 GB, free: 34.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005981/0.4805, allocations: 166.2 kB / 0.5114 GB, free: 34.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4805, allocations: 81.05 kB / 0.5115 GB, free: 34.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.4807, allocations: 155.6 kB / 0.5116 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.4807, allocations: 25.7 kB / 0.5116 GB, free: 34.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.4808, allocations: 102.2 kB / 0.5117 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.4808, allocations: 21.22 kB / 0.5118 GB, free: 34.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.4808, allocations: 26.95 kB / 0.5118 GB, free: 34.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.4809, allocations: 325.1 kB / 0.5121 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.481, allocations: 23.12 kB / 0.5121 GB, free: 33.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.203e-05/0.4811, allocations: 43.19 kB / 0.5122 GB, free: 33.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.4812, allocations: 62.59 kB / 0.5122 GB, free: 33.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.4812, allocations: 0 / 0.5122 GB, free: 33.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001724/0.4814, allocations: 107 kB / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4814, allocations: 5.75 kB / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4814, allocations: 0 / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4814, allocations: 0 / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.387e-05/0.4815, allocations: 18.19 kB / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4815, allocations: 0 / 0.5123 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.4816, allocations: 13.91 kB / 0.5124 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4816, allocations: 2.625 kB / 0.5124 GB, free: 33.6 MB / 378.7 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 7.841e-05/0.4817, allocations: 119.3 kB / 0.5125 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.4817, allocations: 9.75 kB / 0.5125 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.4818, allocations: 14.8 kB / 0.5125 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4818, allocations: 2.906 kB / 0.5125 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4818, allocations: 0 / 0.5125 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4818, allocations: 3.938 kB / 0.5125 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.4821, allocations: 390.3 kB / 0.5129 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4822, allocations: 2.906 kB / 0.5129 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.4822, allocations: 9.375 kB / 0.5129 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.4822, allocations: 3.031 kB / 0.5129 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4822, allocations: 7.938 kB / 0.5129 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4822, allocations: 0 / 0.5129 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4822, allocations: 3.375 kB / 0.5129 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.4827, allocations: 0.7794 MB / 0.5137 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.4827, allocations: 87.83 kB / 0.5137 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.4827, allocations: 4 kB / 0.5137 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.4828, allocations: 6.266 kB / 0.5138 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.4828, allocations: 6.875 kB / 0.5138 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.4829, allocations: 9 kB / 0.5138 GB, free: 32.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.334e-05/0.4829, allocations: 121.5 kB / 0.5139 GB, free: 32.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4829, allocations: 0 / 0.5139 GB, free: 32.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003792/0.4833, allocations: 32.16 kB / 0.5139 GB, free: 32.12 MB / 378.7 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.001246/0.4846, allocations: 0.5004 MB / 0.5144 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.4848, allocations: 68.78 kB / 0.5145 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.81e-06/0.4848, allocations: 2.906 kB / 0.5145 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.193e-05/0.4849, allocations: 24.91 kB / 0.5145 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.4852, allocations: 35.86 kB / 0.5145 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.4857, allocations: 336.8 kB / 0.5149 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001717/0.4859, allocations: 0.7023 MB / 0.5155 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.486, allocations: 17 kB / 0.5156 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.486, allocations: 18.78 kB / 0.5156 GB, free: 30.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.486, allocations: 0 / 0.5156 GB, free: 30.84 MB / 378.7 MB Notification: Performance of Templates: time 0.004829/0.4909, allocations: 1.935 MB / 0.5175 GB, free: 30.62 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches