Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 183.8 kB / 15.76 MB, free: 6.367 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.601/1.601, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008243/0.0008243, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2422/0.2422, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003902, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1481, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.5833, allocations: 87.26 MB / 0.564 GB, free: 12.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5836, allocations: 74.56 kB / 0.564 GB, free: 12.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01686/0.6005, allocations: 7.812 MB / 0.5717 GB, free: 5.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6005, allocations: 3.938 kB / 0.5717 GB, free: 5.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.6005, allocations: 12 kB / 0.5717 GB, free: 5.484 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007314/0.6013, allocations: 0.6217 MB / 0.5723 GB, free: 4.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.6013, allocations: 20 kB / 0.5723 GB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.6014, allocations: 47.39 kB / 0.5724 GB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.602, allocations: 331.7 kB / 0.5727 GB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.602, allocations: 4 kB / 0.5727 GB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.602, allocations: 0 / 0.5727 GB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.6022, allocations: 56 kB / 0.5727 GB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6022, allocations: 3.938 kB / 0.5727 GB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.6022, allocations: 0 / 0.5727 GB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.6022, allocations: 4 kB / 0.5727 GB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.6024, allocations: 46.48 kB / 0.5728 GB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.6031, allocations: 442 kB / 0.5732 GB, free: 3.891 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.6033, allocations: 45.94 kB / 0.5732 GB, free: 3.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.6033, allocations: 7.875 kB / 0.5733 GB, free: 3.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.6034, allocations: 38.08 kB / 0.5733 GB, free: 3.789 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.6034, allocations: 4 kB / 0.5733 GB, free: 3.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007073/0.6041, allocations: 255.5 kB / 0.5735 GB, free: 3.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.6041, allocations: 51.41 kB / 0.5736 GB, free: 3.484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.6053, allocations: 0.7891 MB / 0.5744 GB, free: 2.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.6054, allocations: 25.7 kB / 0.5744 GB, free: 2.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.6055, allocations: 219.5 kB / 0.5746 GB, free: 2.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.6056, allocations: 19.73 kB / 0.5746 GB, free: 2.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/0.6056, allocations: 4 kB / 0.5746 GB, free: 2.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.6058, allocations: 359.1 kB / 0.575 GB, free: 2.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.6059, allocations: 23.17 kB / 0.575 GB, free: 2.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.6059, allocations: 23.55 kB / 0.575 GB, free: 2.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.497e-05/0.606, allocations: 34.91 kB / 0.575 GB, free: 2.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.606, allocations: 0 / 0.575 GB, free: 2.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002301/0.6063, allocations: 130.4 kB / 0.5752 GB, free: 2.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.6063, allocations: 11.39 kB / 0.5752 GB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6063, allocations: 0 / 0.5752 GB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.6063, allocations: 3.938 kB / 0.5752 GB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.703e-05/0.6064, allocations: 20.23 kB / 0.5752 GB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.6064, allocations: 3.984 kB / 0.5752 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.97e-05/0.6065, allocations: 12 kB / 0.5752 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.6065, allocations: 0 / 0.5752 GB, free: 2.121 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 (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 0.0002137/0.6067, allocations: 212.1 kB / 0.5754 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.6068, allocations: 43.72 kB / 0.5754 GB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.6072, allocations: 152.7 kB / 0.5756 GB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6072, allocations: 3.984 kB / 0.5756 GB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.6072, allocations: 0 / 0.5756 GB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6072, allocations: 3.938 kB / 0.5756 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009273/0.6081, allocations: 0.5986 MB / 0.5762 GB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6081, allocations: 0 / 0.5762 GB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.6082, allocations: 19.94 kB / 0.5762 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6082, allocations: 0 / 0.5762 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.6082, allocations: 3.438 kB / 0.5762 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6082, allocations: 0 / 0.5762 GB, free: 1.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.6083, allocations: 3.938 kB / 0.5762 GB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.6085, allocations: 240.5 kB / 0.5764 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.6088, allocations: 159.1 kB / 0.5766 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.6089, allocations: 3.953 kB / 0.5766 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.609, allocations: 12 kB / 0.5766 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.6091, allocations: 3.984 kB / 0.5766 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.6091, allocations: 4 kB / 0.5766 GB, free: 0.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007777/0.6099, allocations: 0.6414 MB / 0.5772 GB, free: 248 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6099, allocations: 0 / 0.5772 GB, free: 248 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003568/0.6102, allocations: 63.27 kB / 0.5773 GB, free: 188 kB / 378.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.001116/0.6114, allocations: 396.5 kB / 0.5777 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.6117, allocations: 69.83 kB / 0.5777 GB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6117, allocations: 0 / 0.5777 GB, free: 15.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.6118, allocations: 31.3 kB / 0.5778 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.6121, allocations: 27.73 kB / 0.5778 GB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.6136, allocations: 0.9174 MB / 0.5787 GB, free: 14.87 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.6141, allocations: 0.8373 MB / 0.5795 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.194e-05/0.6142, allocations: 39.98 kB / 0.5796 GB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.6143, allocations: 23.44 kB / 0.5796 GB, free: 13.96 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.6143, allocations: 4 kB / 0.5796 GB, free: 13.95 MB / 394.7 MB Notification: Performance of Templates: time 0.006372/0.6207, allocations: 2.45 MB / 0.582 GB, free: 11.5 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches