Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008342/0.0008343, allocations: 179 kB / 18.08 MB, free: 3.637 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.176/1.176, allocations: 223.3 MB / 242.1 MB, free: 11.76 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.0007648/0.0007648, allocations: 92.5 kB / 293.3 MB, free: 10.81 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.2631/0.2631, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 19.98 kB / 461.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2508, allocations: 61.88 MB / 0.5107 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08894/0.3398, allocations: 88.25 MB / 0.5969 GB, free: 6.855 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.3401, allocations: 79.95 kB / 0.597 GB, free: 6.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01039/0.3505, allocations: 4.475 MB / 0.6014 GB, free: 2.309 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3505, allocations: 0 / 0.6014 GB, free: 2.309 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.3505, allocations: 3.938 kB / 0.6014 GB, free: 2.305 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003123/0.3508, allocations: 371.3 kB / 0.6017 GB, free: 1.891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.3509, allocations: 12.03 kB / 0.6017 GB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.3509, allocations: 12.83 kB / 0.6017 GB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.3511, allocations: 192.2 kB / 0.6019 GB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-06/0.3511, allocations: 384 / 0.6019 GB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3511, allocations: 12.38 kB / 0.6019 GB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3513, allocations: 63.89 kB / 0.602 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3513, allocations: 192 / 0.602 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3513, allocations: 3.938 kB / 0.602 GB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3513, allocations: 3.938 kB / 0.602 GB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.175e-05/0.3514, allocations: 27.98 kB / 0.602 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.3517, allocations: 272.9 kB / 0.6023 GB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.3518, allocations: 54.44 kB / 0.6023 GB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.3519, allocations: 16.94 kB / 0.6024 GB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3519, allocations: 4 kB / 0.6024 GB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.352, allocations: 30.56 kB / 0.6024 GB, free: 1.078 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.352, allocations: 0 / 0.6024 GB, free: 1.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004566/0.3524, allocations: 153.4 kB / 0.6025 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.3525, allocations: 81.11 kB / 0.6026 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.3526, allocations: 136.8 kB / 0.6027 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.3526, allocations: 25.7 kB / 0.6028 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.3526, allocations: 92.08 kB / 0.6029 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.3527, allocations: 23.64 kB / 0.6029 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.3527, allocations: 0 / 0.6029 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.3528, allocations: 326.8 kB / 0.6032 GB, free: 212 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.065e-05/0.3528, allocations: 19.98 kB / 0.6032 GB, free: 192 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.3529, allocations: 41.77 kB / 0.6032 GB, free: 144 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.353, allocations: 52.86 kB / 0.6033 GB, free: 88 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.353, allocations: 0 / 0.6033 GB, free: 88 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001656/0.3532, allocations: 85.69 kB / 0.6034 GB, free: 15.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.3532, allocations: 11.98 kB / 0.6034 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.3532, allocations: 4 kB / 0.6034 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.3533, allocations: 0 / 0.6034 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.3533, allocations: 12 kB / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.3533, allocations: 0 / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.3534, allocations: 7.984 kB / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3534, allocations: 4 kB / 0.6034 GB, free: 15.95 MB / 426.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 (5): * Single equations (assignments): 5 * 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 6.908e-05/0.3535, allocations: 118.3 kB / 0.6035 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.3535, allocations: 11.91 kB / 0.6035 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.3537, allocations: 97.56 kB / 0.6036 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3537, allocations: 0 / 0.6036 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3537, allocations: 0 / 0.6036 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3537, allocations: 0 / 0.6036 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.3541, allocations: 358.4 kB / 0.604 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3541, allocations: 7.875 kB / 0.604 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.3542, allocations: 15.98 kB / 0.604 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3542, allocations: 0 / 0.604 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.3542, allocations: 0 / 0.604 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3542, allocations: 320 / 0.604 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3542, allocations: 4 kB / 0.604 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.3544, allocations: 187.4 kB / 0.6042 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-05/0.3544, allocations: 93.28 kB / 0.6043 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.3545, allocations: 0 / 0.6043 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.3545, allocations: 8 kB / 0.6043 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3546, allocations: 15.91 kB / 0.6043 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3546, allocations: 0 / 0.6043 GB, free: 14.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.969e-05/0.3547, allocations: 107.3 kB / 0.6044 GB, free: 14.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.413e-06/0.3547, allocations: 0 / 0.6044 GB, free: 14.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.3549, allocations: 31.92 kB / 0.6044 GB, free: 14.82 MB / 426.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 (5): * Single equations (assignments): 5 * 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.0008231/0.3557, allocations: 445.5 kB / 0.6049 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.3559, allocations: 51.97 kB / 0.6049 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3559, allocations: 4 kB / 0.6049 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.356, allocations: 31.92 kB / 0.6049 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.3563, allocations: 20.06 kB / 0.605 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.3566, allocations: 160.7 kB / 0.6051 GB, free: 14.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.3568, allocations: 0.6926 MB / 0.6058 GB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.208e-05/0.3568, allocations: 15.97 kB / 0.6058 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.3569, allocations: 11.44 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3569, allocations: 0 / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of Templates: time 0.003067/0.3599, allocations: 1.281 MB / 0.6071 GB, free: 12.24 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches