Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, 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.345/1.345, allocations: 222.9 MB / 241.6 MB, free: 10.97 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.0009988/0.0009989, allocations: 102.8 kB / 291.9 MB, free: 10.93 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.3528/0.3528, allocations: 44.13 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 55.86 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3224, allocations: 60.8 MB / 0.5064 GB, free: 38.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003188/0.3256, allocations: 1.701 MB / 0.508 GB, free: 37.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006852/0.3263, allocations: 453.7 kB / 0.5085 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.3264, allocations: 0 / 0.5085 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.3267, allocations: 62.81 kB / 0.5085 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.3268, allocations: 46.89 kB / 0.5086 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.3272, allocations: 157.8 kB / 0.5087 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3273, allocations: 88.52 kB / 0.5088 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3274, allocations: 19.08 kB / 0.5088 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.123e-05/0.3275, allocations: 26.03 kB / 0.5089 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.351e-05/0.3276, allocations: 45.31 kB / 0.5089 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3276, allocations: 2.719 kB / 0.5089 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.122e-05/0.3277, allocations: 48.59 kB / 0.509 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.3278, allocations: 32.94 kB / 0.509 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.3278, allocations: 27.5 kB / 0.509 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.328, allocations: 104.5 kB / 0.5091 GB, free: 36.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.328, allocations: 0 / 0.5091 GB, free: 36.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.328, allocations: 0 / 0.5091 GB, free: 36.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.328, allocations: 2.75 kB / 0.5091 GB, free: 36.8 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.0004013/0.3284, allocations: 406.9 kB / 0.5095 GB, free: 36.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3284, allocations: 8.594 kB / 0.5095 GB, free: 36.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.3285, allocations: 18.5 kB / 0.5095 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3286, allocations: 194.8 kB / 0.5097 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3287, allocations: 4.375 kB / 0.5097 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.3287, allocations: 14.03 kB / 0.5097 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.3288, allocations: 67.52 kB / 0.5098 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3289, allocations: 3.938 kB / 0.5098 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3289, allocations: 4 kB / 0.5098 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3289, allocations: 2.688 kB / 0.5098 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.329, allocations: 41.89 kB / 0.5098 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.3294, allocations: 313.7 kB / 0.5101 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.3296, allocations: 60.19 kB / 0.5102 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.638e-05/0.3297, allocations: 30.31 kB / 0.5102 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3297, allocations: 3.938 kB / 0.5102 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.103e-05/0.3297, allocations: 33.8 kB / 0.5103 GB, free: 35.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3298, allocations: 0 / 0.5103 GB, free: 35.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001285/0.331, allocations: 422 kB / 0.5107 GB, free: 35.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.3311, allocations: 54.34 kB / 0.5107 GB, free: 35.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3312, allocations: 175.3 kB / 0.5109 GB, free: 35.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.3312, allocations: 29.7 kB / 0.5109 GB, free: 35.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.3313, allocations: 101 kB / 0.511 GB, free: 35.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3313, allocations: 36.31 kB / 0.5111 GB, free: 35.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.3314, allocations: 19.56 kB / 0.5111 GB, free: 35.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.003e-05/0.3314, allocations: 327.8 kB / 0.5114 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.3315, allocations: 62.3 kB / 0.5114 GB, free: 34.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3317, allocations: 54.62 kB / 0.5115 GB, free: 34.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.3319, allocations: 126.3 kB / 0.5116 GB, free: 34.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3319, allocations: 0 / 0.5116 GB, free: 34.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002811/0.3322, allocations: 163.4 kB / 0.5118 GB, free: 34.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3322, allocations: 5.969 kB / 0.5118 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3322, allocations: 3.938 kB / 0.5118 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3322, allocations: 3.938 kB / 0.5118 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.991e-05/0.3324, allocations: 23.52 kB / 0.5118 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3324, allocations: 3.938 kB / 0.5118 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.3324, allocations: 15.34 kB / 0.5118 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.3324, allocations: 6.719 kB / 0.5118 GB, free: 34.74 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 6.994e-05/0.3325, allocations: 128.9 kB / 0.512 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.3326, allocations: 13.41 kB / 0.512 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/0.3329, allocations: 191.2 kB / 0.5121 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3329, allocations: 0 / 0.5121 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.333, allocations: 4 kB / 0.5122 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.333, allocations: 7.359 kB / 0.5122 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.3335, allocations: 0.5046 MB / 0.5127 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.3335, allocations: 0 / 0.5127 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.904e-05/0.3336, allocations: 32.14 kB / 0.5127 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3336, allocations: 0 / 0.5127 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-06/0.3336, allocations: 6.875 kB / 0.5127 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3336, allocations: 0 / 0.5127 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3336, allocations: 2.656 kB / 0.5127 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.3342, allocations: 0.8908 MB / 0.5136 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.3342, allocations: 83.67 kB / 0.5136 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3342, allocations: 3.375 kB / 0.5136 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.3343, allocations: 11.25 kB / 0.5137 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.3344, allocations: 20.66 kB / 0.5137 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.3344, allocations: 2.656 kB / 0.5137 GB, free: 33.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.091e-05/0.3344, allocations: 139.4 kB / 0.5138 GB, free: 33.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.022e-06/0.3345, allocations: 0 / 0.5138 GB, free: 33.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.3348, allocations: 32.94 kB / 0.5138 GB, free: 33.1 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.000891/0.3357, allocations: 455 kB / 0.5143 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.336, allocations: 126.3 kB / 0.5144 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.336, allocations: 2.75 kB / 0.5144 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.3362, allocations: 75.7 kB / 0.5145 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.3365, allocations: 18.69 kB / 0.5145 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.337, allocations: 473.8 kB / 0.5149 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3371, allocations: 0.7247 MB / 0.5156 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.69e-05/0.3372, allocations: 28.34 kB / 0.5157 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.3373, allocations: 16.27 kB / 0.5157 GB, free: 31.74 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3373, allocations: 0 / 0.5157 GB, free: 31.74 MB / 378.7 MB Notification: Performance of Templates: time 0.004159/0.3414, allocations: 1.533 MB / 0.5172 GB, free: 31.57 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches