Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009629/0.000963, allocations: 183.9 kB / 13.19 MB, free: 2.129 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.428/1.428, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008582/0.0008584, allocations: 81.91 kB / 267 MB, free: 9.277 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.3606/0.3606, allocations: 43.47 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.461e-05, allocations: 4 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1288, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3861/0.5149, allocations: 87.63 MB / 0.5584 GB, free: 1.406 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.5152, allocations: 70.22 kB / 0.5585 GB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01363/0.5289, allocations: 5.373 MB / 0.5637 GB, free: 12.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5289, allocations: 4 kB / 0.5637 GB, free: 12.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.5289, allocations: 0 / 0.5637 GB, free: 12.01 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.0004502/0.5294, allocations: 396 kB / 0.5641 GB, free: 11.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5294, allocations: 8.031 kB / 0.5641 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.5295, allocations: 11.34 kB / 0.5641 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.5298, allocations: 223.5 kB / 0.5643 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5298, allocations: 4 kB / 0.5643 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.5299, allocations: 0 / 0.5643 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.53, allocations: 53.67 kB / 0.5644 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.53, allocations: 0 / 0.5644 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.53, allocations: 9.375 kB / 0.5644 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.53, allocations: 0 / 0.5644 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.368e-05/0.5301, allocations: 19.98 kB / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.5305, allocations: 288.9 kB / 0.5647 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.5306, allocations: 54.62 kB / 0.5647 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.5306, allocations: 20.98 kB / 0.5647 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.5307, allocations: 7.984 kB / 0.5648 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.5308, allocations: 64.27 kB / 0.5648 GB, free: 10.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 4.208e-06/0.5308, allocations: 1.406 kB / 0.5648 GB, free: 10.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004963/0.5313, allocations: 173 kB / 0.565 GB, free: 10.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.5314, allocations: 55.39 kB / 0.565 GB, free: 10.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.5316, allocations: 169.3 kB / 0.5652 GB, free: 10.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.5316, allocations: 29.7 kB / 0.5652 GB, free: 10.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.5317, allocations: 104.1 kB / 0.5653 GB, free: 10.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.5317, allocations: 23.7 kB / 0.5653 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.5317, allocations: 3.938 kB / 0.5653 GB, free: 10.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5318, allocations: 322.8 kB / 0.5657 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.5319, allocations: 20 kB / 0.5657 GB, free: 9.797 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.161e-05/0.5319, allocations: 38.36 kB / 0.5657 GB, free: 9.754 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.589e-05/0.532, allocations: 24 kB / 0.5657 GB, free: 9.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.532, allocations: 0 / 0.5657 GB, free: 9.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001441/0.5322, allocations: 102 kB / 0.5658 GB, free: 9.625 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5322, allocations: 4 kB / 0.5658 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.5322, allocations: 4 kB / 0.5658 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.5322, allocations: 192 / 0.5658 GB, free: 9.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.5323, allocations: 12 kB / 0.5659 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.5323, allocations: 11.88 kB / 0.5659 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.5324, allocations: 4 kB / 0.5659 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.5324, allocations: 8 kB / 0.5659 GB, free: 9.582 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 () * 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 6.957e-05/0.5325, allocations: 115.5 kB / 0.566 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.5325, allocations: 7.906 kB / 0.566 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.5327, allocations: 122.4 kB / 0.5661 GB, free: 9.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5327, allocations: 3.938 kB / 0.5661 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.5327, allocations: 0 / 0.5661 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5327, allocations: 3.953 kB / 0.5661 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.5331, allocations: 411.2 kB / 0.5665 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5332, allocations: 0 / 0.5665 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.5332, allocations: 11.98 kB / 0.5665 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5332, allocations: 4 kB / 0.5665 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.5332, allocations: 0 / 0.5665 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.5332, allocations: 3.953 kB / 0.5665 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5332, allocations: 4 kB / 0.5665 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.5334, allocations: 214 kB / 0.5667 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.5335, allocations: 97 kB / 0.5668 GB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.5335, allocations: 3.953 kB / 0.5668 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.5336, allocations: 7.938 kB / 0.5668 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.5337, allocations: 11.98 kB / 0.5668 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.5337, allocations: 4 kB / 0.5669 GB, free: 8.469 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.5338, allocations: 136.1 kB / 0.567 GB, free: 8.336 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5338, allocations: 0 / 0.567 GB, free: 8.336 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.534, allocations: 31.98 kB / 0.567 GB, free: 8.305 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) * 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.0009422/0.535, allocations: 429.8 kB / 0.5674 GB, free: 7.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.5351, allocations: 59.92 kB / 0.5675 GB, free: 7.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5352, allocations: 4.062 kB / 0.5675 GB, free: 7.891 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.02e-05/0.5352, allocations: 28 kB / 0.5675 GB, free: 7.863 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.5355, allocations: 19.98 kB / 0.5675 GB, free: 7.844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.5358, allocations: 176.5 kB / 0.5677 GB, free: 7.645 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.5361, allocations: 0.7082 MB / 0.5684 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.924e-05/0.5362, allocations: 20.92 kB / 0.5684 GB, free: 6.891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.5362, allocations: 19.42 kB / 0.5684 GB, free: 6.871 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5362, allocations: 0 / 0.5684 GB, free: 6.871 MB / 394.7 MB Notification: Performance of Templates: time 0.003958/0.5402, allocations: 1.679 MB / 0.5701 GB, free: 5.199 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches