Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009573/0.000957, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.431/1.431, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.000813/0.000813, allocations: 89.42 kB / 271.9 MB, free: 8.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.3472/0.3472, allocations: 43.56 MB / 363.8 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 12 kB / 432.6 MB, free: 5.684 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.09986, allocations: 58.85 MB / 491.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2516/0.3515, allocations: 87.27 MB / 0.5651 GB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.3518, allocations: 71.97 kB / 0.5652 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01021/0.362, allocations: 4.224 MB / 0.5693 GB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.362, allocations: 4.391 kB / 0.5693 GB, free: 10.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.362, allocations: 4 kB / 0.5693 GB, free: 10.79 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.0003946/0.3624, allocations: 410.7 kB / 0.5697 GB, free: 10.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.3625, allocations: 12.03 kB / 0.5697 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.3625, allocations: 12.84 kB / 0.5698 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.3627, allocations: 201.3 kB / 0.57 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.3627, allocations: 7.75 kB / 0.57 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.3627, allocations: 384 / 0.57 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3629, allocations: 73.72 kB / 0.57 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3629, allocations: 4 kB / 0.57 GB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-06/0.3629, allocations: 0 / 0.57 GB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.363, allocations: 0 / 0.57 GB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.3631, allocations: 47.97 kB / 0.5701 GB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.3635, allocations: 324.7 kB / 0.5704 GB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.3636, allocations: 50.44 kB / 0.5704 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.483e-05/0.3637, allocations: 28.94 kB / 0.5705 GB, free: 9.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3637, allocations: 7.969 kB / 0.5705 GB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.3638, allocations: 38.62 kB / 0.5705 GB, free: 9.438 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.3638, allocations: 4 kB / 0.5705 GB, free: 9.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007264/0.3645, allocations: 257.1 kB / 0.5708 GB, free: 9.176 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.3646, allocations: 59.41 kB / 0.5708 GB, free: 9.105 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3647, allocations: 166.5 kB / 0.571 GB, free: 8.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.3647, allocations: 25.7 kB / 0.571 GB, free: 8.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.3648, allocations: 108 kB / 0.5711 GB, free: 8.789 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.3648, allocations: 19.72 kB / 0.5711 GB, free: 8.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.3648, allocations: 4 kB / 0.5711 GB, free: 8.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.698e-05/0.3649, allocations: 326.8 kB / 0.5714 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.365, allocations: 47.95 kB / 0.5715 GB, free: 8.391 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3652, allocations: 47.97 kB / 0.5715 GB, free: 8.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.3654, allocations: 109.5 kB / 0.5716 GB, free: 8.234 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3654, allocations: 0 / 0.5716 GB, free: 8.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002743/0.3657, allocations: 133.5 kB / 0.5718 GB, free: 8.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3657, allocations: 7.984 kB / 0.5718 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3657, allocations: 5.5 kB / 0.5718 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.3657, allocations: 0 / 0.5718 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3658, allocations: 23.98 kB / 0.5718 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3659, allocations: 0 / 0.5718 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.3659, allocations: 19.92 kB / 0.5718 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.3659, allocations: 4 kB / 0.5718 GB, free: 8.039 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 () * Number of clocked 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.975e-05/0.366, allocations: 122.4 kB / 0.5719 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.3661, allocations: 11.84 kB / 0.5719 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.3664, allocations: 162.6 kB / 0.5721 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3664, allocations: 0.75 kB / 0.5721 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3664, allocations: 8 kB / 0.5721 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.3664, allocations: 7.922 kB / 0.5721 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/0.3669, allocations: 430.5 kB / 0.5725 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.367, allocations: 0 / 0.5725 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.254e-05/0.367, allocations: 27.97 kB / 0.5726 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3671, allocations: 0 / 0.5726 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.3671, allocations: 7.875 kB / 0.5726 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3671, allocations: 3.938 kB / 0.5726 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3671, allocations: 0 / 0.5726 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.3674, allocations: 243.3 kB / 0.5728 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.3674, allocations: 93.02 kB / 0.5729 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.3675, allocations: 11.88 kB / 0.5729 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.3676, allocations: 11.98 kB / 0.5729 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.3676, allocations: 7.984 kB / 0.5729 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.3676, allocations: 0 / 0.5729 GB, free: 6.809 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.986e-05/0.3677, allocations: 137.5 kB / 0.573 GB, free: 6.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3677, allocations: 0 / 0.573 GB, free: 6.676 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.368, allocations: 27.94 kB / 0.5731 GB, free: 6.648 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 () * Number of clocked 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.0007403/0.3687, allocations: 403.9 kB / 0.5735 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.369, allocations: 111.9 kB / 0.5736 GB, free: 6.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.369, allocations: 0 / 0.5736 GB, free: 6.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.3692, allocations: 55.91 kB / 0.5736 GB, free: 6.184 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3694, allocations: 11.98 kB / 0.5736 GB, free: 6.172 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.3698, allocations: 285.1 kB / 0.5739 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.3701, allocations: 0.7043 MB / 0.5746 GB, free: 5.133 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.3701, allocations: 15.44 kB / 0.5746 GB, free: 5.121 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3701, allocations: 4 kB / 0.5746 GB, free: 5.117 MB / 394.7 MB Notification: Performance of Templates: time 0.002687/0.3728, allocations: 1.729 MB / 0.5763 GB, free: 3.398 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches