Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001222, 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.397/1.397, 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.001109/0.001108, allocations: 102.9 kB / 291.9 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.3741/0.3741, allocations: 44.13 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 55.92 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3529, allocations: 60.8 MB / 0.5064 GB, free: 38.47 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002796/0.3557, allocations: 1.697 MB / 0.508 GB, free: 37.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000634/0.3564, allocations: 430.1 kB / 0.5085 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.3565, allocations: 0 / 0.5085 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.3567, allocations: 55.42 kB / 0.5085 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.3568, allocations: 44.48 kB / 0.5086 GB, free: 37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.3571, allocations: 120.9 kB / 0.5087 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.3572, allocations: 72.92 kB / 0.5087 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.3573, allocations: 19.92 kB / 0.5088 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.3574, allocations: 29.95 kB / 0.5088 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.3575, allocations: 54.11 kB / 0.5088 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3575, allocations: 2.75 kB / 0.5088 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.58e-05/0.3576, allocations: 44.62 kB / 0.5089 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.3576, allocations: 20.06 kB / 0.5089 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.3577, allocations: 36.91 kB / 0.5089 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.3578, allocations: 100.4 kB / 0.509 GB, free: 36.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3578, allocations: 0 / 0.509 GB, free: 36.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.3579, allocations: 0 / 0.509 GB, free: 36.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.3579, allocations: 1.406 kB / 0.509 GB, free: 36.77 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.0004074/0.3583, allocations: 408.8 kB / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3583, allocations: 9.125 kB / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.3584, allocations: 14.12 kB / 0.5094 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3585, allocations: 192.2 kB / 0.5096 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3585, allocations: 6.406 kB / 0.5096 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3586, allocations: 12.91 kB / 0.5096 GB, free: 36.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3587, allocations: 64.17 kB / 0.5097 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3587, allocations: 0 / 0.5097 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3588, allocations: 4 kB / 0.5097 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3588, allocations: 6.781 kB / 0.5097 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.3589, allocations: 34.31 kB / 0.5097 GB, free: 36.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.3592, allocations: 297.5 kB / 0.51 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.3594, allocations: 58.8 kB / 0.5101 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.664e-05/0.3595, allocations: 26.95 kB / 0.5101 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.3595, allocations: 0 / 0.5101 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.3596, allocations: 37.38 kB / 0.5102 GB, free: 35.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.3596, allocations: 0 / 0.5102 GB, free: 35.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001369/0.3609, allocations: 392.1 kB / 0.5105 GB, free: 35.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.361, allocations: 54.31 kB / 0.5106 GB, free: 35.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.3612, allocations: 183.7 kB / 0.5108 GB, free: 35.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.3612, allocations: 25.7 kB / 0.5108 GB, free: 35.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.3612, allocations: 101.3 kB / 0.5109 GB, free: 35.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.3613, allocations: 37.77 kB / 0.5109 GB, free: 35.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.3613, allocations: 21.78 kB / 0.5109 GB, free: 35.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.3614, allocations: 328.8 kB / 0.5112 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.3615, allocations: 46.56 kB / 0.5113 GB, free: 34.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.3617, allocations: 50.59 kB / 0.5113 GB, free: 34.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.3619, allocations: 99.34 kB / 0.5114 GB, free: 34.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.3619, allocations: 4 kB / 0.5114 GB, free: 34.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002785/0.3622, allocations: 138.4 kB / 0.5116 GB, free: 34.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3622, allocations: 10.75 kB / 0.5116 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3622, allocations: 3.938 kB / 0.5116 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3622, allocations: 0 / 0.5116 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3624, allocations: 25.66 kB / 0.5116 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3624, allocations: 0 / 0.5116 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.3624, allocations: 12.92 kB / 0.5116 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3624, allocations: 2.875 kB / 0.5116 GB, free: 34.75 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 (11): * Single equations (assignments): 11 * 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 9.84e-05/0.3626, allocations: 132 kB / 0.5117 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.3626, allocations: 13.31 kB / 0.5118 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/0.3629, allocations: 170.7 kB / 0.5119 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.363, allocations: 2.875 kB / 0.5119 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.363, allocations: 3.984 kB / 0.5119 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.363, allocations: 0 / 0.5119 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.3635, allocations: 470.1 kB / 0.5124 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3635, allocations: 4.031 kB / 0.5124 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.725e-05/0.3636, allocations: 26.2 kB / 0.5124 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3636, allocations: 2.625 kB / 0.5124 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3636, allocations: 2.625 kB / 0.5124 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3636, allocations: 0 / 0.5124 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.3636, allocations: 3.188 kB / 0.5124 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.3642, allocations: 0.8561 MB / 0.5132 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.3642, allocations: 83.64 kB / 0.5133 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.3642, allocations: 2.875 kB / 0.5133 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.076e-05/0.3643, allocations: 17.44 kB / 0.5133 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.071e-05/0.3644, allocations: 13.58 kB / 0.5134 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.3644, allocations: 5.719 kB / 0.5134 GB, free: 33.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.304e-05/0.3645, allocations: 142 kB / 0.5135 GB, free: 33.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3645, allocations: 0 / 0.5135 GB, free: 33.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000339/0.3649, allocations: 20.16 kB / 0.5135 GB, free: 33.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008997/0.3658, allocations: 470.5 kB / 0.514 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.3661, allocations: 104.7 kB / 0.5141 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3661, allocations: 4 kB / 0.5141 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.3662, allocations: 59.98 kB / 0.5141 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3666, allocations: 15.92 kB / 0.5141 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.3671, allocations: 441.4 kB / 0.5146 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.3672, allocations: 0.7108 MB / 0.5153 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.3673, allocations: 23.73 kB / 0.5153 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.3674, allocations: 17.19 kB / 0.5153 GB, free: 31.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3674, allocations: 0 / 0.5153 GB, free: 31.8 MB / 378.7 MB Notification: Performance of Templates: time 0.004146/0.3715, allocations: 1.464 MB / 0.5167 GB, free: 31.64 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches