Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008735/0.0008736, allocations: 170.9 kB / 16.76 MB, free: 5.055 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.541/1.541, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0008578/0.0008575, allocations: 90.34 kB / 271.3 MB, free: 8.242 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.3764/0.3764, allocations: 43.56 MB / 363.1 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.0004212, allocations: 12 kB / 432.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 58.85 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.378/0.5209, allocations: 86.39 MB / 0.5643 GB, free: 15.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.5213, allocations: 67.97 kB / 0.5644 GB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01046/0.5318, allocations: 3.529 MB / 0.5678 GB, free: 12.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.31e-06/0.5319, allocations: 0 / 0.5678 GB, free: 12.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.636e-05/0.5319, allocations: 7.844 kB / 0.5678 GB, free: 12.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007707/0.5327, allocations: 387.8 kB / 0.5682 GB, free: 11.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.043e-05/0.5328, allocations: 8.031 kB / 0.5682 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.773e-05/0.5329, allocations: 8.938 kB / 0.5682 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.5333, allocations: 194.6 kB / 0.5684 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.5333, allocations: 4.375 kB / 0.5684 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.5334, allocations: 384 / 0.5684 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.5336, allocations: 46.25 kB / 0.5685 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.5337, allocations: 192 / 0.5685 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.5337, allocations: 7.938 kB / 0.5685 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.5337, allocations: 0 / 0.5685 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.5338, allocations: 31.97 kB / 0.5685 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.5344, allocations: 268.9 kB / 0.5687 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.5348, allocations: 50.5 kB / 0.5688 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.531e-05/0.5349, allocations: 20.94 kB / 0.5688 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.5349, allocations: 0 / 0.5688 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.5349, allocations: 30.56 kB / 0.5688 GB, free: 10.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.973e-06/0.535, allocations: 0 / 0.5688 GB, free: 10.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007137/0.5357, allocations: 165.2 kB / 0.569 GB, free: 10.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.5357, allocations: 51.41 kB / 0.5691 GB, free: 10.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.5359, allocations: 134.1 kB / 0.5692 GB, free: 10.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.5359, allocations: 29.7 kB / 0.5692 GB, free: 10.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.536, allocations: 92.12 kB / 0.5693 GB, free: 10.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.536, allocations: 15.81 kB / 0.5693 GB, free: 10.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/0.536, allocations: 4 kB / 0.5693 GB, free: 10.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5362, allocations: 323 kB / 0.5696 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.019e-05/0.5363, allocations: 23.92 kB / 0.5696 GB, free: 9.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-05/0.5363, allocations: 23.98 kB / 0.5697 GB, free: 9.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.5365, allocations: 57.77 kB / 0.5697 GB, free: 9.906 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.5365, allocations: 0 / 0.5697 GB, free: 9.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001989/0.5367, allocations: 89.58 kB / 0.5698 GB, free: 9.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.5367, allocations: 8 kB / 0.5698 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.5367, allocations: 0 / 0.5698 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5368, allocations: 0 / 0.5698 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.5368, allocations: 16.98 kB / 0.5698 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.5368, allocations: 3.938 kB / 0.5698 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.5369, allocations: 4 kB / 0.5698 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.5369, allocations: 4 kB / 0.5698 GB, free: 9.777 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.0001005/0.537, allocations: 133.7 kB / 0.57 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.5371, allocations: 7.906 kB / 0.57 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.5373, allocations: 98.19 kB / 0.5701 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5373, allocations: 0.75 kB / 0.5701 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5373, allocations: 0 / 0.5701 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.5373, allocations: 7.984 kB / 0.5701 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.5378, allocations: 354.5 kB / 0.5704 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.5378, allocations: 4 kB / 0.5704 GB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.5379, allocations: 11.98 kB / 0.5704 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.5379, allocations: 4 kB / 0.5704 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.5379, allocations: 4 kB / 0.5704 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5379, allocations: 3.938 kB / 0.5704 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5379, allocations: 0 / 0.5704 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.5382, allocations: 191.3 kB / 0.5706 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.5382, allocations: 89.02 kB / 0.5707 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.5382, allocations: 4 kB / 0.5707 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.5383, allocations: 7.984 kB / 0.5707 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.5384, allocations: 3.938 kB / 0.5707 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.5384, allocations: 4 kB / 0.5707 GB, free: 8.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.902e-05/0.5385, allocations: 109.4 kB / 0.5708 GB, free: 8.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5385, allocations: 0 / 0.5708 GB, free: 8.664 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.5388, allocations: 20 kB / 0.5709 GB, free: 8.645 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.001006/0.5398, allocations: 409 kB / 0.5712 GB, free: 8.336 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.54, allocations: 59.84 kB / 0.5713 GB, free: 8.277 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.54, allocations: 0 / 0.5713 GB, free: 8.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.065e-05/0.5401, allocations: 31.98 kB / 0.5713 GB, free: 8.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.5404, allocations: 12.23 kB / 0.5713 GB, free: 8.234 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.5408, allocations: 171.2 kB / 0.5715 GB, free: 8.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.5411, allocations: 0.6965 MB / 0.5722 GB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.908e-05/0.5411, allocations: 15.92 kB / 0.5722 GB, free: 7.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.5412, allocations: 11.44 kB / 0.5722 GB, free: 7.301 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5412, allocations: 0 / 0.5722 GB, free: 7.301 MB / 394.7 MB Notification: Performance of Templates: time 0.0035/0.5447, allocations: 1.017 MB / 0.5732 GB, free: 6.289 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches