Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 186.9 kB / 17.97 MB, free: 3.789 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.317/1.317, allocations: 222.9 MB / 241.6 MB, free: 10.97 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.001044/0.001043, allocations: 106.5 kB / 291.9 MB, free: 10.92 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.386/0.386, allocations: 44.13 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 51.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3412, allocations: 60.8 MB / 0.5064 GB, free: 38.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003157/0.3444, allocations: 1.632 MB / 0.508 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.3452, allocations: 432.3 kB / 0.5084 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.3452, allocations: 4 kB / 0.5084 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.3457, allocations: 448.3 kB / 0.5088 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.346, allocations: 240.8 kB / 0.5091 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.3464, allocations: 154.7 kB / 0.5092 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.3466, allocations: 158.2 kB / 0.5094 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3467, allocations: 17.56 kB / 0.5094 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.544e-05/0.3468, allocations: 102.2 kB / 0.5095 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.3469, allocations: 203.5 kB / 0.5097 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.347, allocations: 0 / 0.5097 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-05/0.347, allocations: 25.3 kB / 0.5097 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.3471, allocations: 84.78 kB / 0.5098 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.3472, allocations: 100.6 kB / 0.5099 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.3474, allocations: 230.7 kB / 0.5101 GB, free: 36.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3474, allocations: 3.938 kB / 0.5101 GB, free: 36.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3474, allocations: 0 / 0.5101 GB, free: 36.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3474, allocations: 4 kB / 0.5101 GB, free: 36.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005695/0.348, allocations: 0.6219 MB / 0.5107 GB, free: 35.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3481, allocations: 8.438 kB / 0.5107 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.3481, allocations: 48.69 kB / 0.5108 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.3483, allocations: 286.9 kB / 0.511 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-06/0.3483, allocations: 4.375 kB / 0.511 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3484, allocations: 3.375 kB / 0.511 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.3485, allocations: 53.7 kB / 0.5111 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3485, allocations: 7.188 kB / 0.5111 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3485, allocations: 0 / 0.5111 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3485, allocations: 3.984 kB / 0.5111 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.121e-05/0.3486, allocations: 29.3 kB / 0.5111 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.349, allocations: 378.2 kB / 0.5115 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.297e-05/0.3491, allocations: 40.98 kB / 0.5115 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.3492, allocations: 14.2 kB / 0.5115 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3492, allocations: 2.812 kB / 0.5115 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.3492, allocations: 33.75 kB / 0.5116 GB, free: 35.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3492, allocations: 0 / 0.5116 GB, free: 35.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002179/0.3495, allocations: 93.72 kB / 0.5117 GB, free: 35.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.3495, allocations: 55.47 kB / 0.5117 GB, free: 35.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006076/0.3501, allocations: 0.8675 MB / 0.5126 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.3501, allocations: 25.7 kB / 0.5126 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3502, allocations: 219.5 kB / 0.5128 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.3503, allocations: 6.031 kB / 0.5128 GB, free: 34.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.3503, allocations: 16.41 kB / 0.5128 GB, free: 34.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.3504, allocations: 367.4 kB / 0.5132 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.3504, allocations: 5.531 kB / 0.5132 GB, free: 34.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.3505, allocations: 16.55 kB / 0.5132 GB, free: 34.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.567e-05/0.3505, allocations: 25.72 kB / 0.5132 GB, free: 34.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3505, allocations: 3 kB / 0.5132 GB, free: 34.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001182/0.3507, allocations: 91.72 kB / 0.5133 GB, free: 34.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3507, allocations: 5.375 kB / 0.5133 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3507, allocations: 7.875 kB / 0.5133 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3507, allocations: 0 / 0.5133 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.3508, allocations: 12.61 kB / 0.5133 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3508, allocations: 0 / 0.5133 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.053e-05/0.3508, allocations: 2.625 kB / 0.5133 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3509, allocations: 0 / 0.5133 GB, free: 34.04 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 (2): * Single equations (assignments): 2 * 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.000134/0.351, allocations: 216.7 kB / 0.5135 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.351, allocations: 40.38 kB / 0.5136 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.3512, allocations: 106.4 kB / 0.5137 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3512, allocations: 0 / 0.5137 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3512, allocations: 6.625 kB / 0.5137 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3513, allocations: 0 / 0.5137 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.3515, allocations: 287.6 kB / 0.514 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3515, allocations: 0 / 0.514 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.142e-05/0.3515, allocations: 8.906 kB / 0.514 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3515, allocations: 0 / 0.514 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3515, allocations: 4 kB / 0.514 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3515, allocations: 0 / 0.514 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3515, allocations: 0 / 0.514 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.3519, allocations: 0.8348 MB / 0.5148 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.352, allocations: 105.3 kB / 0.5149 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.352, allocations: 4 kB / 0.5149 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.3521, allocations: 6.75 kB / 0.5149 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.3521, allocations: 3.234 kB / 0.5149 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3522, allocations: 7.031 kB / 0.5149 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005744/0.3527, allocations: 0.6457 MB / 0.5155 GB, free: 32.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3527, allocations: 1.188 kB / 0.5155 GB, free: 32.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003296/0.3531, allocations: 18.16 kB / 0.5156 GB, free: 32.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0007226/0.3538, allocations: 354.3 kB / 0.5159 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.3539, allocations: 25.02 kB / 0.5159 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3539, allocations: 0 / 0.5159 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.354, allocations: 16.38 kB / 0.5159 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.3544, allocations: 22.12 kB / 0.516 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008822/0.3553, allocations: 0.9552 MB / 0.5169 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3555, allocations: 0.8259 MB / 0.5177 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.189e-05/0.3556, allocations: 11.41 kB / 0.5177 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.3556, allocations: 17.2 kB / 0.5177 GB, free: 30.97 MB / 378.7 MB Notification: Performance of SimCode: time 1.9e-07/0.3556, allocations: 0 / 0.5177 GB, free: 30.97 MB / 378.7 MB Notification: Performance of Templates: time 0.004395/0.36, allocations: 1.227 MB / 0.5189 GB, free: 30.81 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches