Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, 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.318/1.318, 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.001092/0.001092, allocations: 104.5 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.3489/0.3489, allocations: 44.13 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 55.92 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3412, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002699/0.344, allocations: 1.63 MB / 0.508 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008678/0.3449, allocations: 431.8 kB / 0.5084 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.3449, allocations: 1.25 kB / 0.5084 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005479/0.3455, allocations: 446.3 kB / 0.5088 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.3458, allocations: 247 kB / 0.5091 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.3462, allocations: 157.1 kB / 0.5092 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.3465, allocations: 159 kB / 0.5094 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3466, allocations: 9.25 kB / 0.5094 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3467, allocations: 107 kB / 0.5095 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.3469, allocations: 204.1 kB / 0.5097 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.347, allocations: 0 / 0.5097 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.696e-05/0.3471, allocations: 26.48 kB / 0.5097 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.245e-05/0.3472, allocations: 83.89 kB / 0.5098 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.3472, allocations: 97.5 kB / 0.5099 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.3475, allocations: 233.5 kB / 0.5101 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3475, allocations: 0 / 0.5101 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3475, allocations: 0 / 0.5101 GB, free: 36.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.3475, allocations: 0 / 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.000567/0.3481, allocations: 0.627 MB / 0.5107 GB, free: 35.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3481, allocations: 12.05 kB / 0.5107 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.3482, allocations: 41.84 kB / 0.5107 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.3484, allocations: 292 kB / 0.511 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3484, allocations: 3.344 kB / 0.511 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.3484, allocations: 384 / 0.511 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.3486, allocations: 60.16 kB / 0.5111 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3486, allocations: 0 / 0.5111 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3486, allocations: 4 kB / 0.5111 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3486, allocations: 2.906 kB / 0.5111 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.192e-05/0.3487, allocations: 22.22 kB / 0.5111 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004904/0.3492, allocations: 383.3 kB / 0.5115 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.382e-05/0.3493, allocations: 36.84 kB / 0.5115 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.3494, allocations: 18.2 kB / 0.5115 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3494, allocations: 6.188 kB / 0.5115 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.3494, allocations: 30.56 kB / 0.5116 GB, free: 35.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3494, allocations: 0 / 0.5116 GB, free: 35.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002863/0.3497, allocations: 97.77 kB / 0.5117 GB, free: 35.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3498, allocations: 58.03 kB / 0.5117 GB, free: 35.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00088/0.3507, allocations: 0.8613 MB / 0.5126 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.3507, allocations: 25.7 kB / 0.5126 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.3508, allocations: 222.7 kB / 0.5128 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.3509, allocations: 7.922 kB / 0.5128 GB, free: 34.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.3509, allocations: 20.5 kB / 0.5128 GB, free: 34.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.351, allocations: 360.2 kB / 0.5132 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.513e-05/0.3511, allocations: 14.08 kB / 0.5132 GB, free: 34.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.3511, allocations: 5.875 kB / 0.5132 GB, free: 34.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.536e-05/0.3512, allocations: 33.47 kB / 0.5132 GB, free: 34.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3512, allocations: 0 / 0.5132 GB, free: 34.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001391/0.3514, allocations: 90.52 kB / 0.5133 GB, free: 34.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3514, allocations: 8.562 kB / 0.5133 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3514, allocations: 11.86 kB / 0.5133 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3514, allocations: 0 / 0.5133 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.3515, allocations: 5.469 kB / 0.5133 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3515, allocations: 0 / 0.5133 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.3516, allocations: 11.97 kB / 0.5133 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.3516, allocations: 0 / 0.5133 GB, free: 34.02 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.0001679/0.3518, allocations: 211.6 kB / 0.5135 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.3518, allocations: 43.12 kB / 0.5136 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.3521, allocations: 108.2 kB / 0.5137 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3521, allocations: 0 / 0.5137 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3521, allocations: 0.6094 kB / 0.5137 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3521, allocations: 4.031 kB / 0.5137 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.3524, allocations: 286.9 kB / 0.514 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3524, allocations: 0 / 0.514 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.3524, allocations: 7.031 kB / 0.514 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3524, allocations: 0 / 0.514 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3524, allocations: 2.875 kB / 0.514 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3524, allocations: 0 / 0.514 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3525, allocations: 0 / 0.514 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.3529, allocations: 0.8362 MB / 0.5148 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.3529, allocations: 105 kB / 0.5149 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.353, allocations: 2.562 kB / 0.5149 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.353, allocations: 3.938 kB / 0.5149 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.3531, allocations: 5.75 kB / 0.5149 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.3531, allocations: 4 kB / 0.5149 GB, free: 32.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005338/0.3536, allocations: 0.6524 MB / 0.5155 GB, free: 32.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3536, allocations: 0 / 0.5155 GB, free: 32.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003309/0.354, allocations: 18.31 kB / 0.5156 GB, free: 32.42 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.0007963/0.3548, allocations: 348.5 kB / 0.5159 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.3549, allocations: 21.52 kB / 0.5159 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3549, allocations: 0 / 0.5159 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.355, allocations: 18.98 kB / 0.5159 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.3555, allocations: 24.81 kB / 0.516 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.3565, allocations: 0.9535 MB / 0.5169 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.3568, allocations: 0.8228 MB / 0.5177 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.275e-05/0.3568, allocations: 8.906 kB / 0.5177 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.3568, allocations: 20.39 kB / 0.5177 GB, free: 30.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3569, allocations: 0 / 0.5177 GB, free: 30.96 MB / 378.7 MB Notification: Performance of Templates: time 0.00438/0.3612, allocations: 1.232 MB / 0.5189 GB, free: 30.8 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches