Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 177 kB / 16.77 MB, free: 4.926 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.57/1.57, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0008036/0.0008035, allocations: 86.39 kB / 271.3 MB, free: 8.234 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.368/0.368, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004223, allocations: 16 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1431, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3618/0.505, allocations: 86.88 MB / 0.5648 GB, free: 15.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.5053, allocations: 75.97 kB / 0.5649 GB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.018/0.5233, allocations: 8.034 MB / 0.5727 GB, free: 7.051 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5234, allocations: 0 / 0.5727 GB, free: 7.051 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.007e-05/0.5234, allocations: 8 kB / 0.5727 GB, free: 7.043 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.0007626/0.5242, allocations: 0.6293 MB / 0.5733 GB, free: 6.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.5242, allocations: 12.03 kB / 0.5733 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.227e-05/0.5243, allocations: 44.38 kB / 0.5734 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.5248, allocations: 352.1 kB / 0.5737 GB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.5248, allocations: 12.31 kB / 0.5737 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.5248, allocations: 384 / 0.5737 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.525, allocations: 62.23 kB / 0.5738 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.525, allocations: 192 / 0.5738 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.525, allocations: 3.938 kB / 0.5738 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.525, allocations: 4 kB / 0.5738 GB, free: 5.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.5252, allocations: 39.97 kB / 0.5738 GB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.5257, allocations: 436.7 kB / 0.5743 GB, free: 5.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.5259, allocations: 50.5 kB / 0.5743 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.014e-05/0.5259, allocations: 28.94 kB / 0.5743 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.526, allocations: 0 / 0.5743 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.526, allocations: 42.61 kB / 0.5744 GB, free: 5.188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.526, allocations: 0 / 0.5744 GB, free: 5.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008095/0.5268, allocations: 323.8 kB / 0.5747 GB, free: 4.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.5269, allocations: 51.41 kB / 0.5747 GB, free: 4.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.5281, allocations: 0.8456 MB / 0.5756 GB, free: 3.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.5282, allocations: 29.7 kB / 0.5756 GB, free: 3.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.5283, allocations: 212.1 kB / 0.5758 GB, free: 3.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.5284, allocations: 19.66 kB / 0.5758 GB, free: 3.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.5284, allocations: 0 / 0.5758 GB, free: 3.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5285, allocations: 370.7 kB / 0.5762 GB, free: 3.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.5286, allocations: 39.97 kB / 0.5762 GB, free: 3.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.5287, allocations: 40.05 kB / 0.5762 GB, free: 3.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.529, allocations: 96.73 kB / 0.5763 GB, free: 3.133 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.529, allocations: 0 / 0.5763 GB, free: 3.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003061/0.5293, allocations: 165.3 kB / 0.5765 GB, free: 2.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.5293, allocations: 4 kB / 0.5765 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5293, allocations: 0 / 0.5765 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5293, allocations: 0 / 0.5765 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.5295, allocations: 31.92 kB / 0.5765 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.5295, allocations: 0 / 0.5765 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.74e-05/0.5296, allocations: 15.98 kB / 0.5765 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.5296, allocations: 4.75 kB / 0.5765 GB, free: 2.91 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 0.0001929/0.5298, allocations: 221.6 kB / 0.5768 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.304e-05/0.5299, allocations: 44.62 kB / 0.5768 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.5302, allocations: 181.4 kB / 0.577 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.5303, allocations: 0 / 0.577 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5303, allocations: 0 / 0.577 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5303, allocations: 8 kB / 0.577 GB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008342/0.5311, allocations: 0.6349 MB / 0.5776 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.5311, allocations: 3.938 kB / 0.5776 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.5312, allocations: 23.98 kB / 0.5776 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.5312, allocations: 0 / 0.5776 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.5313, allocations: 4.875 kB / 0.5776 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.5313, allocations: 4 kB / 0.5776 GB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.5313, allocations: 3.938 kB / 0.5776 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.5316, allocations: 262.9 kB / 0.5779 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.5318, allocations: 160.5 kB / 0.578 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.5319, allocations: 4 kB / 0.578 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.532, allocations: 20.27 kB / 0.5781 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.532, allocations: 11.92 kB / 0.5781 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.532, allocations: 4 kB / 0.5781 GB, free: 1.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006694/0.5327, allocations: 0.6355 MB / 0.5787 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5327, allocations: 0 / 0.5787 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002982/0.533, allocations: 63.94 kB / 0.5788 GB, free: 0.5352 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.0008436/0.5339, allocations: 414.3 kB / 0.5792 GB, free: 224 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.5342, allocations: 95.88 kB / 0.5792 GB, free: 128 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5342, allocations: 0 / 0.5792 GB, free: 128 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.5343, allocations: 51.97 kB / 0.5793 GB, free: 76 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.5347, allocations: 21.95 kB / 0.5793 GB, free: 56 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.536, allocations: 0.9204 MB / 0.5802 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.5364, allocations: 0.8185 MB / 0.581 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.379e-05/0.5365, allocations: 44.22 kB / 0.5811 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.5365, allocations: 19.44 kB / 0.5811 GB, free: 14.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5366, allocations: 7.938 kB / 0.5811 GB, free: 14.19 MB / 410.7 MB Notification: Performance of Templates: time 0.005993/0.5426, allocations: 2.493 MB / 0.5835 GB, free: 11.69 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches