Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, 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.329/1.329, 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.001122/0.001122, allocations: 96.27 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.4458/0.4458, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 55.91 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3583, allocations: 60.8 MB / 0.5064 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002865/0.3612, allocations: 1.684 MB / 0.508 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3625, allocations: 1.034 MB / 0.509 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.3625, allocations: 1.125 kB / 0.509 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.3627, allocations: 21.28 kB / 0.5091 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.3629, allocations: 37.84 kB / 0.5091 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.3633, allocations: 159.1 kB / 0.5092 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.3634, allocations: 70.33 kB / 0.5093 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.3635, allocations: 18.88 kB / 0.5093 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.3636, allocations: 24.06 kB / 0.5094 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3637, allocations: 27.17 kB / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3637, allocations: 2.875 kB / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.824e-05/0.3638, allocations: 55.17 kB / 0.5094 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.3639, allocations: 16.86 kB / 0.5095 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.3639, allocations: 21.72 kB / 0.5095 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.3641, allocations: 100.5 kB / 0.5096 GB, free: 36.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3641, allocations: 0 / 0.5096 GB, free: 36.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.3641, allocations: 0 / 0.5096 GB, free: 36.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3641, allocations: 0 / 0.5096 GB, free: 36.29 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.0004416/0.3646, allocations: 399 kB / 0.51 GB, free: 35.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.3646, allocations: 8.469 kB / 0.51 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.3646, allocations: 7.688 kB / 0.51 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3648, allocations: 187.5 kB / 0.5101 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3648, allocations: 3.219 kB / 0.5101 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3648, allocations: 6.688 kB / 0.5102 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.365, allocations: 83.98 kB / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.365, allocations: 0 / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.365, allocations: 10.86 kB / 0.5102 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.365, allocations: 0 / 0.5102 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3652, allocations: 37.17 kB / 0.5103 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.3655, allocations: 303.1 kB / 0.5106 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3656, allocations: 50.08 kB / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.3657, allocations: 23.58 kB / 0.5106 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3657, allocations: 2.906 kB / 0.5106 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.3658, allocations: 33.84 kB / 0.5107 GB, free: 35.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3658, allocations: 0 / 0.5107 GB, free: 35.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006758/0.3664, allocations: 215 kB / 0.5109 GB, free: 35.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.3665, allocations: 79.67 kB / 0.511 GB, free: 35.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.3666, allocations: 148 kB / 0.5111 GB, free: 34.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.3666, allocations: 29.7 kB / 0.5111 GB, free: 34.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.625e-05/0.3666, allocations: 90.7 kB / 0.5112 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.3667, allocations: 29.92 kB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.3667, allocations: 21.47 kB / 0.5113 GB, free: 34.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.479e-05/0.3667, allocations: 326.1 kB / 0.5116 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.3669, allocations: 40.36 kB / 0.5116 GB, free: 34.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.367, allocations: 59.69 kB / 0.5117 GB, free: 34.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.3672, allocations: 84.27 kB / 0.5117 GB, free: 34.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3672, allocations: 0 / 0.5117 GB, free: 34.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002424/0.3674, allocations: 124.4 kB / 0.5119 GB, free: 34.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3675, allocations: 6.719 kB / 0.5119 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3675, allocations: 4.031 kB / 0.5119 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3675, allocations: 0 / 0.5119 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3676, allocations: 23.19 kB / 0.5119 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3676, allocations: 0 / 0.5119 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.3677, allocations: 12.66 kB / 0.5119 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.3677, allocations: 2.625 kB / 0.5119 GB, free: 34.3 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 (7): * Single equations (assignments): 7 * 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 6.143e-05/0.3677, allocations: 127.2 kB / 0.512 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.3678, allocations: 13.59 kB / 0.512 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.3681, allocations: 135.7 kB / 0.5122 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3681, allocations: 0 / 0.5122 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3681, allocations: 2.844 kB / 0.5122 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3681, allocations: 3.938 kB / 0.5122 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.3685, allocations: 404.1 kB / 0.5126 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3685, allocations: 0 / 0.5126 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.3686, allocations: 19.89 kB / 0.5126 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3686, allocations: 2.625 kB / 0.5126 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3686, allocations: 7.938 kB / 0.5126 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3686, allocations: 0 / 0.5126 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3686, allocations: 0 / 0.5126 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.3691, allocations: 0.8301 MB / 0.5134 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.3692, allocations: 79.8 kB / 0.5135 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3692, allocations: 0 / 0.5135 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/0.3693, allocations: 12.7 kB / 0.5135 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.3693, allocations: 6.078 kB / 0.5135 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3693, allocations: 2.812 kB / 0.5135 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.264e-05/0.3694, allocations: 108.5 kB / 0.5136 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3694, allocations: 0 / 0.5136 GB, free: 32.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003355/0.3697, allocations: 33.28 kB / 0.5136 GB, free: 32.79 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 (7): * Single equations (assignments): 7 * 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.00082/0.3706, allocations: 444.7 kB / 0.5141 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.3708, allocations: 88.41 kB / 0.5142 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3708, allocations: 0 / 0.5142 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.3709, allocations: 55.2 kB / 0.5142 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3712, allocations: 23.47 kB / 0.5142 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.3716, allocations: 349.4 kB / 0.5146 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.3717, allocations: 0.7034 MB / 0.5152 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.091e-05/0.3718, allocations: 26.28 kB / 0.5153 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.3719, allocations: 17.16 kB / 0.5153 GB, free: 31.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3719, allocations: 0 / 0.5153 GB, free: 31.52 MB / 378.7 MB Notification: Performance of Templates: time 0.003147/0.375, allocations: 1.473 MB / 0.5167 GB, free: 31.35 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches