Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, 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.396/1.396, allocations: 222.9 MB / 241.6 MB, free: 11 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.0009717/0.0009717, allocations: 91.73 kB / 291.8 MB, free: 10.96 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.3805/0.3805, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 47.92 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3613, allocations: 60.81 MB / 0.5064 GB, free: 38.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003547/0.3649, allocations: 1.639 MB / 0.508 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007143/0.3657, allocations: 417.2 kB / 0.5084 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.3658, allocations: 2.938 kB / 0.5084 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.3661, allocations: 122.3 kB / 0.5085 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.3663, allocations: 82.73 kB / 0.5086 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.3667, allocations: 94.88 kB / 0.5087 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.3669, allocations: 87.11 kB / 0.5088 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.367, allocations: 16.97 kB / 0.5088 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.3671, allocations: 38.06 kB / 0.5088 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.3672, allocations: 79.19 kB / 0.5089 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.3672, allocations: 2.938 kB / 0.5089 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.898e-05/0.3674, allocations: 43.98 kB / 0.5089 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.3674, allocations: 30.67 kB / 0.509 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.3675, allocations: 34.53 kB / 0.509 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.3676, allocations: 111.3 kB / 0.5091 GB, free: 36.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3677, allocations: 5.188 kB / 0.5091 GB, free: 36.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3677, allocations: 0 / 0.5091 GB, free: 36.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3677, allocations: 0 / 0.5091 GB, free: 36.56 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004534/0.3681, allocations: 422.1 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3682, allocations: 10.25 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.3682, allocations: 17.55 kB / 0.5095 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.3684, allocations: 213 kB / 0.5097 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3684, allocations: 4.375 kB / 0.5097 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.3684, allocations: 7.234 kB / 0.5097 GB, free: 35.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3686, allocations: 61.88 kB / 0.5098 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3686, allocations: 0 / 0.5098 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3686, allocations: 0 / 0.5098 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3687, allocations: 2.844 kB / 0.5098 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.809e-05/0.3687, allocations: 25.06 kB / 0.5098 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.3691, allocations: 314 kB / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.425e-05/0.3692, allocations: 50.83 kB / 0.5102 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/0.3693, allocations: 13.55 kB / 0.5102 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.3693, allocations: 0 / 0.5102 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.3693, allocations: 37.94 kB / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3693, allocations: 2.562 kB / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008329/0.3702, allocations: 240.5 kB / 0.5105 GB, free: 35.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.3702, allocations: 54.22 kB / 0.5105 GB, free: 35.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.3704, allocations: 275.4 kB / 0.5108 GB, free: 35.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.3705, allocations: 28.61 kB / 0.5108 GB, free: 35.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.3705, allocations: 112.5 kB / 0.5109 GB, free: 35.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.3705, allocations: 30.56 kB / 0.5109 GB, free: 35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.3706, allocations: 26.88 kB / 0.511 GB, free: 34.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.3706, allocations: 324.1 kB / 0.5113 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.3707, allocations: 29.81 kB / 0.5113 GB, free: 34.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.43e-05/0.3708, allocations: 32.36 kB / 0.5113 GB, free: 34.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.3709, allocations: 80.33 kB / 0.5114 GB, free: 34.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3709, allocations: 4 kB / 0.5114 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001803/0.3711, allocations: 112.3 kB / 0.5115 GB, free: 34.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3711, allocations: 8.938 kB / 0.5115 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3712, allocations: 0 / 0.5115 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3712, allocations: 0 / 0.5115 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.3713, allocations: 17.17 kB / 0.5115 GB, free: 34.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3713, allocations: 3.938 kB / 0.5115 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.882e-05/0.3713, allocations: 5.125 kB / 0.5116 GB, free: 34.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.3713, allocations: 8 kB / 0.5116 GB, free: 34.54 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 7.41e-05/0.3714, allocations: 137.8 kB / 0.5117 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.3715, allocations: 15.97 kB / 0.5117 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.3717, allocations: 130.6 kB / 0.5118 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3717, allocations: 2.656 kB / 0.5118 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3717, allocations: 3.938 kB / 0.5118 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3717, allocations: 0 / 0.5118 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.3722, allocations: 427.8 kB / 0.5122 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3722, allocations: 0 / 0.5122 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.3723, allocations: 21.7 kB / 0.5123 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3723, allocations: 432 / 0.5123 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.3723, allocations: 3.094 kB / 0.5123 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3723, allocations: 0 / 0.5123 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3723, allocations: 32 / 0.5123 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.3728, allocations: 0.8223 MB / 0.5131 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.3728, allocations: 95.69 kB / 0.5132 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.3728, allocations: 10.11 kB / 0.5132 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.584e-05/0.3729, allocations: 6.875 kB / 0.5132 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.373, allocations: 6.25 kB / 0.5132 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.373, allocations: 2.844 kB / 0.5132 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.3731, allocations: 202 kB / 0.5134 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.3731, allocations: 0 / 0.5134 GB, free: 32.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003427/0.3735, allocations: 35.53 kB / 0.5134 GB, free: 32.96 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.000994/0.3745, allocations: 451.4 kB / 0.5138 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.3747, allocations: 75.34 kB / 0.5139 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3747, allocations: 2.875 kB / 0.5139 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/0.3748, allocations: 41.31 kB / 0.514 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.3752, allocations: 24.33 kB / 0.514 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.3757, allocations: 481.1 kB / 0.5144 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.3759, allocations: 0.7175 MB / 0.5151 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.663e-05/0.376, allocations: 23.44 kB / 0.5152 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.376, allocations: 12.84 kB / 0.5152 GB, free: 31.64 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.376, allocations: 0 / 0.5152 GB, free: 31.64 MB / 378.7 MB Notification: Performance of Templates: time 0.003671/0.3797, allocations: 1.353 MB / 0.5165 GB, free: 31.47 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches