Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001238, 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.44/1.44, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.0009189/0.0009189, allocations: 107.2 kB / 291.9 MB, free: 10.95 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.3818/0.3818, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 51.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3676, allocations: 60.8 MB / 0.5064 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003225/0.3709, allocations: 1.702 MB / 0.508 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007126/0.3717, allocations: 424 kB / 0.5085 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.3717, allocations: 0 / 0.5085 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000525/0.3723, allocations: 450.7 kB / 0.5089 GB, free: 37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.3726, allocations: 249.9 kB / 0.5091 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.3729, allocations: 111.2 kB / 0.5092 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.373, allocations: 161.5 kB / 0.5094 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.544e-05/0.3732, allocations: 20.22 kB / 0.5094 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.726e-05/0.3733, allocations: 109.8 kB / 0.5095 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.3734, allocations: 200.6 kB / 0.5097 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.3735, allocations: 2.5 kB / 0.5097 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-05/0.3736, allocations: 52.31 kB / 0.5097 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.427e-05/0.3737, allocations: 86.38 kB / 0.5098 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.3737, allocations: 100 kB / 0.5099 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.374, allocations: 252.6 kB / 0.5102 GB, free: 36.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.374, allocations: 0 / 0.5102 GB, free: 36.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.374, allocations: 2.938 kB / 0.5102 GB, free: 36.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.374, allocations: 0 / 0.5102 GB, free: 36.61 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006142/0.3746, allocations: 0.6427 MB / 0.5108 GB, free: 36.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3746, allocations: 8.062 kB / 0.5108 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.3747, allocations: 46.94 kB / 0.5109 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.3749, allocations: 284.9 kB / 0.5111 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-06/0.375, allocations: 4.375 kB / 0.5111 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.375, allocations: 3.312 kB / 0.5111 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3751, allocations: 66.88 kB / 0.5112 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3751, allocations: 0 / 0.5112 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3752, allocations: 6.719 kB / 0.5112 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3752, allocations: 0 / 0.5112 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.727e-05/0.3753, allocations: 30.73 kB / 0.5112 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.3756, allocations: 401.1 kB / 0.5116 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.07e-05/0.3758, allocations: 49.73 kB / 0.5117 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.3758, allocations: 17.02 kB / 0.5117 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3758, allocations: 0 / 0.5117 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.3759, allocations: 37.8 kB / 0.5117 GB, free: 35.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3759, allocations: 0 / 0.5117 GB, free: 35.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007955/0.3767, allocations: 291 kB / 0.512 GB, free: 35.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.3767, allocations: 58.25 kB / 0.512 GB, free: 35.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006743/0.3774, allocations: 0.8608 MB / 0.5129 GB, free: 34.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.3774, allocations: 30.92 kB / 0.5129 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3775, allocations: 218.5 kB / 0.5131 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.3776, allocations: 29.56 kB / 0.5132 GB, free: 34.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.3776, allocations: 24.12 kB / 0.5132 GB, free: 34.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.3777, allocations: 357.4 kB / 0.5135 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.297e-05/0.3778, allocations: 32.66 kB / 0.5135 GB, free: 34.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.3779, allocations: 26.86 kB / 0.5136 GB, free: 34.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.378, allocations: 59.81 kB / 0.5136 GB, free: 34.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.378, allocations: 0 / 0.5136 GB, free: 34.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000197/0.3782, allocations: 126.4 kB / 0.5137 GB, free: 34.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3782, allocations: 8.469 kB / 0.5138 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3782, allocations: 4 kB / 0.5138 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3782, allocations: 0 / 0.5138 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.3783, allocations: 25.75 kB / 0.5138 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3784, allocations: 3.938 kB / 0.5138 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.09e-05/0.3784, allocations: 5.719 kB / 0.5138 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.3784, allocations: 3.234 kB / 0.5138 GB, free: 34.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001323/0.3786, allocations: 211.2 kB / 0.514 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.3786, allocations: 45.48 kB / 0.514 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.3789, allocations: 163.7 kB / 0.5142 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3789, allocations: 6.844 kB / 0.5142 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3789, allocations: 11.34 kB / 0.5142 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3789, allocations: 3.938 kB / 0.5142 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.3795, allocations: 0.4922 MB / 0.5147 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3795, allocations: 3.938 kB / 0.5147 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/0.3795, allocations: 21.28 kB / 0.5147 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3795, allocations: 1.312 kB / 0.5147 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3796, allocations: 1.781 kB / 0.5147 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3796, allocations: 1.375 kB / 0.5147 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3796, allocations: 0 / 0.5147 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.3801, allocations: 0.8996 MB / 0.5156 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.3801, allocations: 106.9 kB / 0.5157 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3802, allocations: 0.875 kB / 0.5157 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.2e-05/0.3803, allocations: 7.438 kB / 0.5157 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3803, allocations: 7.5 kB / 0.5157 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3803, allocations: 2.781 kB / 0.5157 GB, free: 32.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006161/0.3809, allocations: 0.6502 MB / 0.5164 GB, free: 32.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.3809, allocations: 6.688 kB / 0.5164 GB, free: 32.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003543/0.3813, allocations: 34.7 kB / 0.5164 GB, free: 32.19 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009916/0.3823, allocations: 460.6 kB / 0.5168 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.3825, allocations: 61.62 kB / 0.5169 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3825, allocations: 0 / 0.5169 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.3826, allocations: 40 kB / 0.5169 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.383, allocations: 22.95 kB / 0.517 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.3841, allocations: 1.013 MB / 0.5179 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.3844, allocations: 0.8266 MB / 0.5188 GB, free: 30.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.245e-05/0.3844, allocations: 14.17 kB / 0.5188 GB, free: 30.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.3845, allocations: 17.25 kB / 0.5188 GB, free: 30.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3845, allocations: 3.938 kB / 0.5188 GB, free: 30.63 MB / 378.7 MB Notification: Performance of Templates: time 0.004574/0.3891, allocations: 1.662 MB / 0.5204 GB, free: 30.43 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches