Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, 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.344/1.344, 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.001023/0.001023, allocations: 103.1 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.3924/0.3924, allocations: 44.13 MB / 386.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001067, allocations: 59.91 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3578, allocations: 60.8 MB / 0.5064 GB, free: 38.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.003203/0.3611, allocations: 1.677 MB / 0.508 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3624, allocations: 1.019 MB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.3625, allocations: 2.688 kB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.3627, allocations: 13.28 kB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.3629, allocations: 31.78 kB / 0.5091 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.3632, allocations: 126 kB / 0.5092 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.3634, allocations: 57.48 kB / 0.5092 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.3635, allocations: 20.52 kB / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.442e-05/0.3635, allocations: 25.27 kB / 0.5093 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.3637, allocations: 29.58 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3637, allocations: 2.781 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3638, allocations: 53.14 kB / 0.5094 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.3639, allocations: 16.89 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.3639, allocations: 19.22 kB / 0.5094 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.3641, allocations: 89.66 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3641, allocations: 3.188 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3641, allocations: 4.906 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.3641, allocations: 0 / 0.5095 GB, free: 36.18 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.0004503/0.3646, allocations: 394.6 kB / 0.5099 GB, free: 35.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3646, allocations: 10.94 kB / 0.5099 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.3647, allocations: 7.875 kB / 0.5099 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.3648, allocations: 188.7 kB / 0.5101 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3648, allocations: 3.25 kB / 0.5101 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.3649, allocations: 7.25 kB / 0.5101 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.365, allocations: 70.34 kB / 0.5101 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3651, allocations: 4 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3651, allocations: 4 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3651, allocations: 2.875 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3652, allocations: 38.45 kB / 0.5102 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.3656, allocations: 281.4 kB / 0.5105 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.3657, allocations: 46.75 kB / 0.5105 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.488e-05/0.3658, allocations: 23.84 kB / 0.5105 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.3658, allocations: 0 / 0.5105 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.3658, allocations: 34.56 kB / 0.5106 GB, free: 35.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3658, allocations: 3.938 kB / 0.5106 GB, free: 35.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007094/0.3665, allocations: 196.2 kB / 0.5108 GB, free: 35.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.3666, allocations: 84.05 kB / 0.5108 GB, free: 34.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3667, allocations: 136.2 kB / 0.511 GB, free: 34.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.3667, allocations: 25.7 kB / 0.511 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.3668, allocations: 102.3 kB / 0.5111 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.3668, allocations: 18.47 kB / 0.5111 GB, free: 34.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.3668, allocations: 22.67 kB / 0.5111 GB, free: 34.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.3669, allocations: 317.4 kB / 0.5114 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.367, allocations: 35.08 kB / 0.5115 GB, free: 34.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.3671, allocations: 51.48 kB / 0.5115 GB, free: 34.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.3673, allocations: 75.11 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3673, allocations: 0 / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002414/0.3676, allocations: 105.8 kB / 0.5117 GB, free: 34.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3676, allocations: 4.938 kB / 0.5117 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3676, allocations: 6.281 kB / 0.5117 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3676, allocations: 4 kB / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3678, allocations: 22.22 kB / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3678, allocations: 0 / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.69e-05/0.3678, allocations: 16.59 kB / 0.5117 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3679, allocations: 2.844 kB / 0.5117 GB, free: 34.22 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.074e-05/0.3679, allocations: 113.5 kB / 0.5118 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.368, allocations: 5.844 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.3683, allocations: 128.6 kB / 0.512 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3683, allocations: 7.938 kB / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3683, allocations: 9.781 kB / 0.512 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3683, allocations: 3.938 kB / 0.512 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.3687, allocations: 388.9 kB / 0.5124 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3687, allocations: 0 / 0.5124 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.3688, allocations: 21.02 kB / 0.5124 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3688, allocations: 2.656 kB / 0.5124 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3688, allocations: 3.938 kB / 0.5124 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3688, allocations: 0 / 0.5124 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3689, allocations: 0 / 0.5124 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004996/0.3694, allocations: 0.8031 MB / 0.5132 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.3694, allocations: 84.17 kB / 0.5133 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.3694, allocations: 0 / 0.5133 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3695, allocations: 13.28 kB / 0.5133 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.3696, allocations: 15.03 kB / 0.5133 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.3696, allocations: 2.781 kB / 0.5133 GB, free: 32.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.852e-05/0.3697, allocations: 103.4 kB / 0.5134 GB, free: 32.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3697, allocations: 0 / 0.5134 GB, free: 32.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.37, allocations: 28.41 kB / 0.5134 GB, free: 32.72 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.0009365/0.371, allocations: 441.6 kB / 0.5138 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.3713, allocations: 85.36 kB / 0.5139 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3713, allocations: 0 / 0.5139 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.3714, allocations: 36.39 kB / 0.5139 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.3717, allocations: 23.66 kB / 0.514 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.3721, allocations: 321.2 kB / 0.5143 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.3723, allocations: 0.6923 MB / 0.515 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.351e-05/0.3723, allocations: 27.02 kB / 0.515 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.3724, allocations: 12.88 kB / 0.515 GB, free: 31.48 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3724, allocations: 0 / 0.515 GB, free: 31.48 MB / 378.7 MB Notification: Performance of Templates: time 0.003617/0.376, allocations: 1.432 MB / 0.5164 GB, free: 31.32 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches