Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, 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.316/1.316, 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.00108/0.00108, allocations: 102 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.4711/0.4711, allocations: 44.13 MB / 386.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001162, allocations: 55.92 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3476, allocations: 60.8 MB / 0.5064 GB, free: 38.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.00286/0.3505, allocations: 1.695 MB / 0.508 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006558/0.3511, allocations: 454.1 kB / 0.5085 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.3512, allocations: 2.938 kB / 0.5085 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.3514, allocations: 49.22 kB / 0.5085 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.3515, allocations: 45.66 kB / 0.5086 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.3519, allocations: 168.5 kB / 0.5087 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.352, allocations: 73.17 kB / 0.5088 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.3521, allocations: 23.8 kB / 0.5088 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.3521, allocations: 26.31 kB / 0.5088 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.017e-05/0.3522, allocations: 40.36 kB / 0.5089 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.3522, allocations: 6.469 kB / 0.5089 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.041e-05/0.3523, allocations: 48.05 kB / 0.5089 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.3524, allocations: 23.97 kB / 0.509 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.3524, allocations: 31.56 kB / 0.509 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.3526, allocations: 97.86 kB / 0.5091 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3526, allocations: 0 / 0.5091 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3526, allocations: 3.938 kB / 0.5091 GB, free: 36.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3526, allocations: 0 / 0.5091 GB, free: 36.36 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.0003727/0.353, allocations: 400.5 kB / 0.5095 GB, free: 35.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.353, allocations: 15.25 kB / 0.5095 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.353, allocations: 11.19 kB / 0.5095 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3532, allocations: 193.8 kB / 0.5097 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3532, allocations: 6.875 kB / 0.5097 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.3532, allocations: 3.438 kB / 0.5097 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.3534, allocations: 67.78 kB / 0.5098 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3534, allocations: 0 / 0.5098 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3534, allocations: 4 kB / 0.5098 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3534, allocations: 0 / 0.5098 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.3535, allocations: 47.25 kB / 0.5098 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.3539, allocations: 319.9 kB / 0.5101 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.3541, allocations: 62.81 kB / 0.5102 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.546e-05/0.3542, allocations: 23.92 kB / 0.5102 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.3542, allocations: 6.844 kB / 0.5102 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.063e-05/0.3542, allocations: 30.56 kB / 0.5102 GB, free: 35.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3542, allocations: 0 / 0.5102 GB, free: 35.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001252/0.3555, allocations: 425.1 kB / 0.5106 GB, free: 35.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.3555, allocations: 55.34 kB / 0.5107 GB, free: 35.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3557, allocations: 170 kB / 0.5108 GB, free: 34.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.3557, allocations: 25.7 kB / 0.5109 GB, free: 34.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.3557, allocations: 100.8 kB / 0.511 GB, free: 34.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.3558, allocations: 39.88 kB / 0.511 GB, free: 34.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.3558, allocations: 28.86 kB / 0.511 GB, free: 34.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.3559, allocations: 329.1 kB / 0.5113 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.356, allocations: 50.62 kB / 0.5114 GB, free: 34.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3561, allocations: 55.89 kB / 0.5114 GB, free: 34.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.3563, allocations: 129.8 kB / 0.5116 GB, free: 34.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3563, allocations: 4 kB / 0.5116 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002794/0.3566, allocations: 166.4 kB / 0.5117 GB, free: 34.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3566, allocations: 5.594 kB / 0.5117 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3567, allocations: 3.938 kB / 0.5117 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3567, allocations: 0 / 0.5117 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.3568, allocations: 27.03 kB / 0.5118 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3568, allocations: 2.844 kB / 0.5118 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.3569, allocations: 16.91 kB / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3569, allocations: 6.75 kB / 0.5118 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 (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 7.152e-05/0.3569, allocations: 126.4 kB / 0.5119 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.357, allocations: 9.688 kB / 0.5119 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.3573, allocations: 186.9 kB / 0.5121 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3574, allocations: 6.906 kB / 0.5121 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3574, allocations: 0 / 0.5121 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3574, allocations: 3.281 kB / 0.5121 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005463/0.3579, allocations: 494.6 kB / 0.5126 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3579, allocations: 7.031 kB / 0.5126 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.186e-05/0.358, allocations: 35.89 kB / 0.5126 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.358, allocations: 0 / 0.5126 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3581, allocations: 2.812 kB / 0.5126 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3581, allocations: 0 / 0.5126 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3581, allocations: 0 / 0.5126 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.3586, allocations: 0.8897 MB / 0.5135 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.3587, allocations: 83.98 kB / 0.5136 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.3587, allocations: 7.469 kB / 0.5136 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.3588, allocations: 9 kB / 0.5136 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.3588, allocations: 17.58 kB / 0.5136 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.3588, allocations: 6.938 kB / 0.5136 GB, free: 32.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.359, allocations: 127.8 kB / 0.5137 GB, free: 32.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.359, allocations: 96 / 0.5137 GB, free: 32.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.3593, allocations: 31.33 kB / 0.5138 GB, free: 32.68 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.0008755/0.3602, allocations: 464.8 kB / 0.5142 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.3605, allocations: 126.5 kB / 0.5143 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3605, allocations: 0 / 0.5143 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3607, allocations: 74.17 kB / 0.5144 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.361, allocations: 21.55 kB / 0.5144 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.3616, allocations: 460.2 kB / 0.5149 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.3617, allocations: 0.7224 MB / 0.5156 GB, free: 31.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.359e-05/0.3618, allocations: 34.98 kB / 0.5156 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.3618, allocations: 15.66 kB / 0.5156 GB, free: 31.31 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3618, allocations: 0 / 0.5156 GB, free: 31.31 MB / 378.7 MB Notification: Performance of Templates: time 0.003629/0.3655, allocations: 1.525 MB / 0.5171 GB, free: 31.14 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches