Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, 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.43/1.43, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001045/0.001045, allocations: 96.08 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.4622/0.4622, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 55.92 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4739, allocations: 60.81 MB / 0.5064 GB, free: 38.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003206/0.4772, allocations: 1.844 MB / 0.5082 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.4785, allocations: 0.9453 MB / 0.5091 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.98e-05/0.4786, allocations: 0 / 0.5091 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.4792, allocations: 303.5 kB / 0.5094 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.4796, allocations: 201.3 kB / 0.5096 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.48, allocations: 151.2 kB / 0.5098 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.4803, allocations: 240.9 kB / 0.51 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.741e-05/0.4803, allocations: 13.48 kB / 0.51 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.4805, allocations: 116.8 kB / 0.5101 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.4807, allocations: 196.1 kB / 0.5103 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.4807, allocations: 2.875 kB / 0.5103 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.4808, allocations: 47.52 kB / 0.5103 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.4809, allocations: 135.7 kB / 0.5105 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.481, allocations: 146.1 kB / 0.5106 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.4813, allocations: 355.7 kB / 0.5109 GB, free: 35.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4813, allocations: 0 / 0.5109 GB, free: 35.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4813, allocations: 0 / 0.5109 GB, free: 35.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.4813, allocations: 3.938 kB / 0.511 GB, free: 35.86 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008123/0.4822, allocations: 0.7248 MB / 0.5117 GB, free: 35.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.4822, allocations: 12.56 kB / 0.5117 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.4823, allocations: 47.12 kB / 0.5117 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.4827, allocations: 445.2 kB / 0.5121 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4828, allocations: 3.281 kB / 0.5121 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.4828, allocations: 11.06 kB / 0.5122 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.483, allocations: 83.78 kB / 0.5122 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.483, allocations: 0 / 0.5122 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.483, allocations: 6.344 kB / 0.5122 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4831, allocations: 0 / 0.5122 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.4832, allocations: 30.98 kB / 0.5123 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.4836, allocations: 373.4 kB / 0.5126 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.4839, allocations: 112.4 kB / 0.5127 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.972e-05/0.4841, allocations: 44.94 kB / 0.5128 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4841, allocations: 0 / 0.5128 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.4844, allocations: 109 kB / 0.5129 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.4844, allocations: 2.75 kB / 0.5129 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005088/0.4849, allocations: 203 kB / 0.5131 GB, free: 34.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.485, allocations: 77.11 kB / 0.5131 GB, free: 34.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.4863, allocations: 1.033 MB / 0.5142 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.4863, allocations: 28.58 kB / 0.5142 GB, free: 33.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.4865, allocations: 230 kB / 0.5144 GB, free: 33.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.4865, allocations: 28.81 kB / 0.5144 GB, free: 33.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.4866, allocations: 29.92 kB / 0.5145 GB, free: 33.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4867, allocations: 372.3 kB / 0.5148 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.936e-05/0.4868, allocations: 28.52 kB / 0.5148 GB, free: 33.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.573e-05/0.4869, allocations: 53.88 kB / 0.5149 GB, free: 33.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.4871, allocations: 95.8 kB / 0.515 GB, free: 33.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4871, allocations: 0 / 0.515 GB, free: 33.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002831/0.4874, allocations: 177.3 kB / 0.5152 GB, free: 33.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4874, allocations: 7.094 kB / 0.5152 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4874, allocations: 3.938 kB / 0.5152 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.4874, allocations: 2.875 kB / 0.5152 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4876, allocations: 20.5 kB / 0.5152 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4876, allocations: 0 / 0.5152 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.4877, allocations: 21.05 kB / 0.5152 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.4877, allocations: 2.812 kB / 0.5152 GB, free: 33.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001939/0.4879, allocations: 232.6 kB / 0.5154 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.488, allocations: 46.88 kB / 0.5155 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.915e-05/0.4881, allocations: 55.86 kB / 0.5155 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4881, allocations: 2.281 kB / 0.5155 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4881, allocations: 1.719 kB / 0.5155 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4881, allocations: 3.234 kB / 0.5155 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.4885, allocations: 340.4 kB / 0.5159 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4885, allocations: 4 kB / 0.5159 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.4885, allocations: 7.688 kB / 0.5159 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4885, allocations: 1.703 kB / 0.5159 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.4886, allocations: 7.141 kB / 0.5159 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4886, allocations: 5.062 kB / 0.5159 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4886, allocations: 5.969 kB / 0.5159 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.4892, allocations: 0.8775 MB / 0.5167 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.4894, allocations: 139.3 kB / 0.5169 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.4894, allocations: 3.578 kB / 0.5169 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.4895, allocations: 12.84 kB / 0.5169 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.4895, allocations: 12.11 kB / 0.5169 GB, free: 31.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.4896, allocations: 3.562 kB / 0.5169 GB, free: 31.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006395/0.4902, allocations: 0.774 MB / 0.5177 GB, free: 31.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4902, allocations: 4 kB / 0.5177 GB, free: 31.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003449/0.4906, allocations: 42.66 kB / 0.5177 GB, free: 31.39 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008882/0.4915, allocations: 412.4 kB / 0.5181 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.4917, allocations: 80.05 kB / 0.5182 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4917, allocations: 0 / 0.5182 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.533e-05/0.4918, allocations: 37.89 kB / 0.5182 GB, free: 31.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.4923, allocations: 72.08 kB / 0.5183 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.4935, allocations: 1.082 MB / 0.5193 GB, free: 30.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.4938, allocations: 0.8463 MB / 0.5202 GB, free: 29.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.4939, allocations: 62.23 kB / 0.5202 GB, free: 29.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.494, allocations: 26.75 kB / 0.5203 GB, free: 29.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.494, allocations: 0 / 0.5203 GB, free: 29.8 MB / 378.7 MB Notification: Performance of Templates: time 0.007738/0.5018, allocations: 3.664 MB / 0.5238 GB, free: 29.46 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches