Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 175.8 kB / 16.76 MB, free: 5.039 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.576/1.576, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007754/0.0007756, allocations: 93.09 kB / 271.3 MB, free: 8.23 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.3706/0.3706, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004929, allocations: 12 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1374, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3698/0.5073, allocations: 86.94 MB / 0.5649 GB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.5077, allocations: 71.97 kB / 0.5649 GB, free: 14.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01715/0.5248, allocations: 7.989 MB / 0.5727 GB, free: 7.016 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5249, allocations: 0 / 0.5727 GB, free: 7.016 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.05e-05/0.5249, allocations: 4 kB / 0.5727 GB, free: 7.012 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.0008141/0.5257, allocations: 0.6293 MB / 0.5733 GB, free: 6.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.5258, allocations: 8.688 kB / 0.5734 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.5259, allocations: 44.38 kB / 0.5734 GB, free: 6.285 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005046/0.5264, allocations: 348.1 kB / 0.5737 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.5264, allocations: 12.31 kB / 0.5737 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.5265, allocations: 384 / 0.5737 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.5266, allocations: 58.23 kB / 0.5738 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5266, allocations: 192 / 0.5738 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.5266, allocations: 7.219 kB / 0.5738 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5267, allocations: 0 / 0.5738 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.236e-05/0.5267, allocations: 27.98 kB / 0.5738 GB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.5274, allocations: 440.7 kB / 0.5743 GB, free: 5.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.5276, allocations: 42.56 kB / 0.5743 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.5277, allocations: 16.92 kB / 0.5743 GB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.5277, allocations: 8.078 kB / 0.5743 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.5278, allocations: 34.56 kB / 0.5744 GB, free: 5.199 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.5278, allocations: 0 / 0.5744 GB, free: 5.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006627/0.5284, allocations: 244.2 kB / 0.5746 GB, free: 4.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.5285, allocations: 51.41 kB / 0.5746 GB, free: 4.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.5298, allocations: 0.8495 MB / 0.5755 GB, free: 4.031 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.5298, allocations: 25.7 kB / 0.5755 GB, free: 4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.53, allocations: 216.1 kB / 0.5757 GB, free: 3.785 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.53, allocations: 19.8 kB / 0.5757 GB, free: 3.766 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.53, allocations: 0 / 0.5757 GB, free: 3.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.5302, allocations: 366.7 kB / 0.5761 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.971e-05/0.5302, allocations: 27.92 kB / 0.5761 GB, free: 3.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.188e-05/0.5303, allocations: 19.98 kB / 0.5761 GB, free: 3.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.5304, allocations: 56.83 kB / 0.5762 GB, free: 3.293 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.5305, allocations: 0 / 0.5762 GB, free: 3.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002189/0.5307, allocations: 122.9 kB / 0.5763 GB, free: 3.168 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5307, allocations: 4 kB / 0.5763 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5307, allocations: 0 / 0.5763 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.5307, allocations: 7.938 kB / 0.5763 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/0.5308, allocations: 23.97 kB / 0.5763 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.5308, allocations: 7.922 kB / 0.5763 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.135e-05/0.5309, allocations: 11.94 kB / 0.5763 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.5309, allocations: 0 / 0.5763 GB, free: 3.113 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 (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.0001942/0.5311, allocations: 221.7 kB / 0.5765 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.5312, allocations: 39.53 kB / 0.5766 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.5315, allocations: 145 kB / 0.5767 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5315, allocations: 0 / 0.5767 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5315, allocations: 0.875 kB / 0.5767 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.5315, allocations: 4 kB / 0.5767 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/0.5323, allocations: 0.5967 MB / 0.5773 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.5323, allocations: 384 / 0.5773 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.286e-05/0.5324, allocations: 11.98 kB / 0.5773 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5324, allocations: 4 kB / 0.5773 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.5324, allocations: 4 kB / 0.5773 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5324, allocations: 0 / 0.5773 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5324, allocations: 7.938 kB / 0.5773 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.5327, allocations: 215 kB / 0.5775 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.5329, allocations: 168.5 kB / 0.5777 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.5329, allocations: 0 / 0.5777 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.533, allocations: 15.98 kB / 0.5777 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.5331, allocations: 3.938 kB / 0.5777 GB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.5331, allocations: 4 kB / 0.5777 GB, free: 1.582 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007089/0.5338, allocations: 0.6393 MB / 0.5783 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5338, allocations: 0 / 0.5783 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002978/0.5341, allocations: 60 kB / 0.5784 GB, free: 0.8867 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 (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.000878/0.535, allocations: 410.2 kB / 0.5788 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.5352, allocations: 51.97 kB / 0.5788 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5352, allocations: 3.938 kB / 0.5788 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.673e-05/0.5353, allocations: 23.98 kB / 0.5789 GB, free: 0.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.5357, allocations: 33.89 kB / 0.5789 GB, free: 476 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.5369, allocations: 0.9021 MB / 0.5798 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.5374, allocations: 0.8262 MB / 0.5806 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.718e-05/0.5375, allocations: 32.25 kB / 0.5806 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.5375, allocations: 23.44 kB / 0.5806 GB, free: 14.63 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5375, allocations: 0 / 0.5806 GB, free: 14.63 MB / 410.7 MB Notification: Performance of Templates: time 0.006209/0.5438, allocations: 2.426 MB / 0.583 GB, free: 12.2 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches