Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, 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.969/1.969, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001178/0.001178, allocations: 94.14 kB / 270.9 MB, free: 8.367 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.5138/0.5138, allocations: 43.55 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006958/0.000696, allocations: 12 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1618, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.6151, allocations: 87.94 MB / 0.5646 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.6155, allocations: 67.97 kB / 0.5647 GB, free: 14.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02623/0.6417, allocations: 5.974 MB / 0.5705 GB, free: 8.613 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6418, allocations: 0.5469 kB / 0.5705 GB, free: 8.613 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.6418, allocations: 0 / 0.5705 GB, free: 8.613 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00065/0.6425, allocations: 402 kB / 0.5709 GB, free: 8.176 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.6425, allocations: 20.02 kB / 0.5709 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.6426, allocations: 15.34 kB / 0.5709 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.643, allocations: 202.8 kB / 0.5711 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.643, allocations: 7.938 kB / 0.5711 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.643, allocations: 0 / 0.5711 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.6432, allocations: 71.38 kB / 0.5712 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.6433, allocations: 0 / 0.5712 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.6433, allocations: 1.031 kB / 0.5712 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.6433, allocations: 8 kB / 0.5712 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.6434, allocations: 19.48 kB / 0.5712 GB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.6439, allocations: 292.8 kB / 0.5715 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.6442, allocations: 58.67 kB / 0.5716 GB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.6443, allocations: 0 / 0.5716 GB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.6445, allocations: 71.52 kB / 0.5716 GB, free: 7.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.6445, allocations: 0 / 0.5716 GB, free: 7.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000847/0.6453, allocations: 181.2 kB / 0.5718 GB, free: 7.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.6454, allocations: 77.11 kB / 0.5719 GB, free: 7.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.6457, allocations: 147.2 kB / 0.572 GB, free: 6.883 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.6457, allocations: 25.7 kB / 0.572 GB, free: 6.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.6458, allocations: 166.5 kB / 0.5722 GB, free: 6.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.6458, allocations: 23.7 kB / 0.5722 GB, free: 6.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.6458, allocations: 0 / 0.5722 GB, free: 6.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.646, allocations: 318.8 kB / 0.5725 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.281e-05/0.6461, allocations: 15.98 kB / 0.5725 GB, free: 6.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.6462, allocations: 46.56 kB / 0.5726 GB, free: 6.273 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.6463, allocations: 20 kB / 0.5726 GB, free: 6.254 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6463, allocations: 4.219 kB / 0.5726 GB, free: 6.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002954/0.6466, allocations: 102.2 kB / 0.5727 GB, free: 6.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.6467, allocations: 11.94 kB / 0.5727 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6467, allocations: 3.953 kB / 0.5727 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.6467, allocations: 0 / 0.5727 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.6469, allocations: 15.98 kB / 0.5727 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.6469, allocations: 0 / 0.5727 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.647, allocations: 4 kB / 0.5727 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.647, allocations: 4 kB / 0.5727 GB, free: 6.105 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001332/0.6472, allocations: 129.8 kB / 0.5729 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.6472, allocations: 11.91 kB / 0.5729 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003898/0.6476, allocations: 115 kB / 0.573 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6477, allocations: 7.953 kB / 0.573 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6477, allocations: 3.938 kB / 0.573 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.6477, allocations: 3.984 kB / 0.573 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006938/0.6484, allocations: 407.2 kB / 0.5734 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.6484, allocations: 0 / 0.5734 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.312e-05/0.6485, allocations: 16.83 kB / 0.5734 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.6485, allocations: 0 / 0.5734 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.6485, allocations: 7.984 kB / 0.5734 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.6486, allocations: 4 kB / 0.5734 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6486, allocations: 0 / 0.5734 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.649, allocations: 217.9 kB / 0.5736 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.649, allocations: 96.91 kB / 0.5737 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.6491, allocations: 4.375 kB / 0.5737 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.6492, allocations: 4 kB / 0.5737 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.6493, allocations: 3.984 kB / 0.5737 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/0.6493, allocations: 12 kB / 0.5737 GB, free: 4.965 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001546/0.6495, allocations: 123 kB / 0.5739 GB, free: 4.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6495, allocations: 4 kB / 0.5739 GB, free: 4.844 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000404/0.6499, allocations: 36 kB / 0.5739 GB, free: 4.809 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001503/0.6514, allocations: 0.5125 MB / 0.5744 GB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.6518, allocations: 59.97 kB / 0.5745 GB, free: 4.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6518, allocations: 3.938 kB / 0.5745 GB, free: 4.336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.652, allocations: 27.98 kB / 0.5745 GB, free: 4.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.6524, allocations: 31.88 kB / 0.5745 GB, free: 4.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.653, allocations: 250 kB / 0.5748 GB, free: 4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.6533, allocations: 0.7043 MB / 0.5754 GB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.6534, allocations: 19.44 kB / 0.5755 GB, free: 3.254 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6534, allocations: 0 / 0.5755 GB, free: 3.254 MB / 394.7 MB Notification: Performance of Templates: time 0.005809/0.6592, allocations: 2.054 MB / 0.5775 GB, free: 1.203 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches