Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009812/0.0009815, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008138/0.0008138, allocations: 86.61 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3332/0.3332, allocations: 43.47 MB / 358.6 MB, free: 52.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.239e-05, allocations: 4 kB / 425.3 MB, free: 8.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3194/0.4289, allocations: 86.74 MB / 0.5575 GB, free: 2.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.4292, allocations: 77.17 kB / 0.5576 GB, free: 2.176 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009463/0.4386, allocations: 4.199 MB / 0.5617 GB, free: 14.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4387, allocations: 0 / 0.5617 GB, free: 14.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.4387, allocations: 4 kB / 0.5617 GB, free: 14.01 MB / 394.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.0003498/0.439, allocations: 396.2 kB / 0.5621 GB, free: 13.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4391, allocations: 8.031 kB / 0.5621 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.4391, allocations: 11.91 kB / 0.5621 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.4394, allocations: 199.9 kB / 0.5623 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.4394, allocations: 4 kB / 0.5623 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.4394, allocations: 3.938 kB / 0.5623 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.891e-05/0.4395, allocations: 49.69 kB / 0.5623 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4395, allocations: 1.375 kB / 0.5623 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.4395, allocations: 4 kB / 0.5623 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4396, allocations: 0 / 0.5623 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.014e-05/0.4396, allocations: 19.98 kB / 0.5624 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.4399, allocations: 296.8 kB / 0.5626 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.663e-05/0.44, allocations: 38.52 kB / 0.5627 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.4401, allocations: 8.859 kB / 0.5627 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.4401, allocations: 12.08 kB / 0.5627 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.4401, allocations: 30.56 kB / 0.5627 GB, free: 12.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4401, allocations: 0 / 0.5627 GB, free: 12.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004324/0.4406, allocations: 145.3 kB / 0.5629 GB, free: 12.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.4406, allocations: 51.41 kB / 0.5629 GB, free: 12.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.4408, allocations: 178.6 kB / 0.5631 GB, free: 12.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.4408, allocations: 25.7 kB / 0.5631 GB, free: 12.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.4409, allocations: 104.1 kB / 0.5632 GB, free: 12.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.4409, allocations: 25.3 kB / 0.5632 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.4409, allocations: 0 / 0.5632 GB, free: 12.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.441, allocations: 318.8 kB / 0.5635 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.4411, allocations: 12 kB / 0.5636 GB, free: 11.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.4411, allocations: 16 kB / 0.5636 GB, free: 11.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.4411, allocations: 16.53 kB / 0.5636 GB, free: 11.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.4411, allocations: 4 kB / 0.5636 GB, free: 11.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001138/0.4413, allocations: 85.52 kB / 0.5637 GB, free: 11.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.4413, allocations: 4 kB / 0.5637 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.4413, allocations: 0 / 0.5637 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.4413, allocations: 7.234 kB / 0.5637 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.4414, allocations: 23.98 kB / 0.5637 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4414, allocations: 0.8594 kB / 0.5637 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.4415, allocations: 19.98 kB / 0.5637 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.4415, allocations: 0 / 0.5637 GB, free: 11.74 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.185e-05/0.4416, allocations: 105 kB / 0.5638 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.4417, allocations: 15.81 kB / 0.5638 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.4418, allocations: 100.5 kB / 0.5639 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4418, allocations: 3.953 kB / 0.5639 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4418, allocations: 0.6875 kB / 0.5639 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4419, allocations: 4 kB / 0.5639 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000364/0.4422, allocations: 370.5 kB / 0.5643 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.4422, allocations: 0 / 0.5643 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.4423, allocations: 31.97 kB / 0.5643 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.4423, allocations: 3.953 kB / 0.5643 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.4424, allocations: 0 / 0.5643 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4424, allocations: 0 / 0.5643 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4424, allocations: 144 / 0.5643 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.4425, allocations: 179.4 kB / 0.5645 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.4426, allocations: 89 kB / 0.5646 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.4426, allocations: 11.95 kB / 0.5646 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.021e-05/0.4427, allocations: 8 kB / 0.5646 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.4428, allocations: 11.92 kB / 0.5646 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.4428, allocations: 0 / 0.5646 GB, free: 10.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.4429, allocations: 143.2 kB / 0.5648 GB, free: 10.58 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4429, allocations: 0 / 0.5648 GB, free: 10.58 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.4431, allocations: 24 kB / 0.5648 GB, free: 10.56 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007622/0.4439, allocations: 368.5 kB / 0.5651 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.444, allocations: 44 kB / 0.5652 GB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.444, allocations: 3.938 kB / 0.5652 GB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.4441, allocations: 20 kB / 0.5652 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.4443, allocations: 19.98 kB / 0.5652 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.4446, allocations: 161.8 kB / 0.5654 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.4449, allocations: 0.7021 MB / 0.5661 GB, free: 9.281 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.526e-05/0.4449, allocations: 20.28 kB / 0.5661 GB, free: 9.262 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.445, allocations: 11.44 kB / 0.5661 GB, free: 9.25 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.445, allocations: 0 / 0.5661 GB, free: 9.25 MB / 394.7 MB Notification: Performance of Templates: time 0.003226/0.4482, allocations: 1.254 MB / 0.5673 GB, free: 8 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches