Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, 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.541/1.541, 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.00118/0.00118, allocations: 111.3 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.3831/0.3831, allocations: 44.13 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 55.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3382, allocations: 60.8 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003141/0.3413, allocations: 1.696 MB / 0.508 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.3422, allocations: 426.7 kB / 0.5085 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.3422, allocations: 0 / 0.5085 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.3425, allocations: 68.48 kB / 0.5085 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.3427, allocations: 59.05 kB / 0.5086 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.343, allocations: 120.9 kB / 0.5087 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3431, allocations: 78.41 kB / 0.5088 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.3432, allocations: 13.11 kB / 0.5088 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.654e-05/0.3433, allocations: 39.53 kB / 0.5088 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.643e-05/0.3433, allocations: 48.47 kB / 0.5089 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.3434, allocations: 6.938 kB / 0.5089 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.3434, allocations: 44.34 kB / 0.5089 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.3435, allocations: 26.92 kB / 0.5089 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.3435, allocations: 25.19 kB / 0.509 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.3437, allocations: 111.3 kB / 0.5091 GB, free: 36.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3437, allocations: 0 / 0.5091 GB, free: 36.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3437, allocations: 0 / 0.5091 GB, free: 36.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3437, allocations: 3.938 kB / 0.5091 GB, free: 36.57 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.0004363/0.3442, allocations: 421.9 kB / 0.5095 GB, free: 36.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3442, allocations: 12.06 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.3443, allocations: 10.84 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.3444, allocations: 198.2 kB / 0.5097 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3444, allocations: 384 / 0.5097 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.3445, allocations: 2.906 kB / 0.5097 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3447, allocations: 70.02 kB / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3447, allocations: 0 / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3447, allocations: 4 kB / 0.5098 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3447, allocations: 2.844 kB / 0.5098 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3449, allocations: 38.94 kB / 0.5098 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.3452, allocations: 306.2 kB / 0.5101 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.3454, allocations: 52.2 kB / 0.5101 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.248e-05/0.3455, allocations: 28.17 kB / 0.5102 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3455, allocations: 2.812 kB / 0.5102 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.191e-05/0.3455, allocations: 34.56 kB / 0.5102 GB, free: 35.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3456, allocations: 0 / 0.5102 GB, free: 35.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.00121/0.3468, allocations: 396.5 kB / 0.5106 GB, free: 35.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.3468, allocations: 59.34 kB / 0.5106 GB, free: 35.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.3469, allocations: 199.3 kB / 0.5108 GB, free: 35.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.347, allocations: 25.7 kB / 0.5109 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.347, allocations: 107.2 kB / 0.511 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.347, allocations: 45.31 kB / 0.511 GB, free: 35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.3471, allocations: 22.22 kB / 0.511 GB, free: 34.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.276e-05/0.3471, allocations: 328.1 kB / 0.5113 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3473, allocations: 41.47 kB / 0.5114 GB, free: 34.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3474, allocations: 47.55 kB / 0.5114 GB, free: 34.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.3476, allocations: 92.61 kB / 0.5115 GB, free: 34.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3476, allocations: 0 / 0.5115 GB, free: 34.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000259/0.3479, allocations: 161.7 kB / 0.5117 GB, free: 34.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3479, allocations: 5.656 kB / 0.5117 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3479, allocations: 0 / 0.5117 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3479, allocations: 0 / 0.5117 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.348, allocations: 30.67 kB / 0.5117 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.348, allocations: 2.938 kB / 0.5117 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.3481, allocations: 8.844 kB / 0.5117 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3481, allocations: 7 kB / 0.5117 GB, free: 34.52 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.87e-05/0.3482, allocations: 129.6 kB / 0.5118 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.3482, allocations: 13.5 kB / 0.5118 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000318/0.3485, allocations: 159.7 kB / 0.512 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3485, allocations: 6.75 kB / 0.512 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3486, allocations: 4 kB / 0.512 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3486, allocations: 0 / 0.512 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.3491, allocations: 468.9 kB / 0.5125 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3491, allocations: 2.875 kB / 0.5125 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.579e-05/0.3492, allocations: 25.09 kB / 0.5125 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3492, allocations: 2.906 kB / 0.5125 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3492, allocations: 6.875 kB / 0.5125 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3492, allocations: 0 / 0.5125 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3492, allocations: 3.938 kB / 0.5125 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.3497, allocations: 0.8605 MB / 0.5133 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.3497, allocations: 86.39 kB / 0.5134 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3498, allocations: 4.188 kB / 0.5134 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.3499, allocations: 12.67 kB / 0.5134 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.3499, allocations: 16.53 kB / 0.5135 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.3499, allocations: 6.969 kB / 0.5135 GB, free: 33.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.366e-05/0.35, allocations: 158.3 kB / 0.5136 GB, free: 32.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.35, allocations: 3.938 kB / 0.5136 GB, free: 32.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003428/0.3504, allocations: 27.03 kB / 0.5136 GB, free: 32.9 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.0009024/0.3513, allocations: 454.1 kB / 0.5141 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000263/0.3515, allocations: 108.5 kB / 0.5142 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3516, allocations: 0 / 0.5142 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3517, allocations: 63.41 kB / 0.5142 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.352, allocations: 20.17 kB / 0.5143 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.3525, allocations: 473.2 kB / 0.5147 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.3526, allocations: 0.7089 MB / 0.5154 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.059e-05/0.3527, allocations: 19.38 kB / 0.5154 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.3528, allocations: 13.09 kB / 0.5154 GB, free: 31.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3528, allocations: 0 / 0.5154 GB, free: 31.55 MB / 378.7 MB Notification: Performance of Templates: time 0.003523/0.3563, allocations: 1.465 MB / 0.5169 GB, free: 31.39 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches