Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.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.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 188.9 kB / 16.41 MB, free: 5.723 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.919/1.919, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001117/0.001117, allocations: 93.97 kB / 270.9 MB, free: 8.371 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.5042/0.5042, allocations: 43.55 MB / 362.7 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000521/0.0005209, allocations: 19.98 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1284, allocations: 58.86 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.5946, allocations: 87.82 MB / 0.5645 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.595, allocations: 79.95 kB / 0.5646 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03587/0.6309, allocations: 7.851 MB / 0.5722 GB, free: 7.008 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6309, allocations: 0 / 0.5722 GB, free: 7.008 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.464e-05/0.631, allocations: 4 kB / 0.5722 GB, free: 7.004 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001087/0.6321, allocations: 0.5539 MB / 0.5728 GB, free: 6.406 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.6322, allocations: 12.56 kB / 0.5728 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.6323, allocations: 27.62 kB / 0.5728 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.6331, allocations: 302.9 kB / 0.5731 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.6331, allocations: 8 kB / 0.5731 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.6332, allocations: 8 kB / 0.5731 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.6335, allocations: 103.3 kB / 0.5732 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.6335, allocations: 1.031 kB / 0.5732 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.6336, allocations: 0 / 0.5732 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.6336, allocations: 4 kB / 0.5732 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.6338, allocations: 43.86 kB / 0.5733 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000891/0.6347, allocations: 481 kB / 0.5737 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004659/0.6352, allocations: 125.4 kB / 0.5738 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.6352, allocations: 11.98 kB / 0.5739 GB, free: 5.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003344/0.6356, allocations: 113.7 kB / 0.574 GB, free: 5.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 3.457e-06/0.6356, allocations: 0 / 0.574 GB, free: 5.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001562/0.6372, allocations: 387.6 kB / 0.5743 GB, free: 4.664 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.6373, allocations: 85.05 kB / 0.5744 GB, free: 4.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009039/0.6382, allocations: 440.8 kB / 0.5748 GB, free: 4.133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.6383, allocations: 25.7 kB / 0.5749 GB, free: 4.102 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.6385, allocations: 202.8 kB / 0.5751 GB, free: 3.898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.747e-05/0.6386, allocations: 51.34 kB / 0.5751 GB, free: 3.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.6386, allocations: 4 kB / 0.5751 GB, free: 3.844 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6387, allocations: 322.8 kB / 0.5754 GB, free: 3.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.639, allocations: 35.98 kB / 0.5755 GB, free: 3.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.6392, allocations: 76.78 kB / 0.5755 GB, free: 3.398 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.6394, allocations: 47.98 kB / 0.5756 GB, free: 3.352 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.6394, allocations: 7.953 kB / 0.5756 GB, free: 3.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000549/0.64, allocations: 165.4 kB / 0.5757 GB, free: 3.176 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.64, allocations: 8.062 kB / 0.5757 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.64, allocations: 0 / 0.5757 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.6401, allocations: 7.938 kB / 0.5758 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.6403, allocations: 31.97 kB / 0.5758 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.6404, allocations: 4 kB / 0.5758 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.6406, allocations: 11.94 kB / 0.5758 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.6407, allocations: 4 kB / 0.5758 GB, free: 3.109 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002899/0.641, allocations: 173.7 kB / 0.576 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/0.6411, allocations: 43.56 kB / 0.576 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007503/0.6418, allocations: 220.6 kB / 0.5762 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6419, allocations: 0 / 0.5762 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6419, allocations: 0 / 0.5762 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.6419, allocations: 4 kB / 0.5762 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.6433, allocations: 0.71 MB / 0.5769 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6434, allocations: 0 / 0.5769 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.6435, allocations: 20.73 kB / 0.5769 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.988e-06/0.6435, allocations: 4 kB / 0.5769 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.6436, allocations: 8 kB / 0.5769 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.6436, allocations: 3.984 kB / 0.577 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.6436, allocations: 3.938 kB / 0.577 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.6443, allocations: 418.8 kB / 0.5774 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.6445, allocations: 128.7 kB / 0.5775 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.6446, allocations: 11.94 kB / 0.5775 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.6449, allocations: 12 kB / 0.5775 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.6449, allocations: 11.98 kB / 0.5775 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.645, allocations: 11.98 kB / 0.5775 GB, free: 1.207 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006618/0.6456, allocations: 355.1 kB / 0.5779 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.625e-06/0.6457, allocations: 0 / 0.5779 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005314/0.6462, allocations: 63.86 kB / 0.5779 GB, free: 0.7969 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00141/0.6476, allocations: 481.5 kB / 0.5784 GB, free: 436 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005136/0.6482, allocations: 119.9 kB / 0.5785 GB, free: 316 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.6482, allocations: 4 kB / 0.5785 GB, free: 312 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.6484, allocations: 68.11 kB / 0.5786 GB, free: 244 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/0.6491, allocations: 49.95 kB / 0.5786 GB, free: 196 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.6506, allocations: 0.6387 MB / 0.5792 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.6511, allocations: 0.7791 MB / 0.58 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.6513, allocations: 35.42 kB / 0.58 GB, free: 14.67 MB / 410.7 MB Notification: Performance of SimCode: time 9.21e-07/0.6513, allocations: 3.938 kB / 0.58 GB, free: 14.67 MB / 410.7 MB Notification: Performance of Templates: time 0.00948/0.6608, allocations: 3.593 MB / 0.5835 GB, free: 11.09 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches