Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.585/1.585, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008866/0.0008866, allocations: 94.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.251/0.251, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004016, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1424, allocations: 58.85 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4722/0.6147, allocations: 87.67 MB / 0.5644 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.6151, allocations: 69.69 kB / 0.5644 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01475/0.6298, allocations: 5.178 MB / 0.5695 GB, free: 7.707 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6299, allocations: 4 kB / 0.5695 GB, free: 7.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.6299, allocations: 4.75 kB / 0.5695 GB, free: 7.699 MB / 378.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.0007543/0.6307, allocations: 414.3 kB / 0.5699 GB, free: 7.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.6308, allocations: 12.03 kB / 0.5699 GB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.6309, allocations: 7.906 kB / 0.5699 GB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.6312, allocations: 202.9 kB / 0.5701 GB, free: 7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.6313, allocations: 4.625 kB / 0.5701 GB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.6313, allocations: 5.25 kB / 0.5701 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.6315, allocations: 67.17 kB / 0.5702 GB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.6315, allocations: 0 / 0.5702 GB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.6315, allocations: 0 / 0.5702 GB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6315, allocations: 0 / 0.5702 GB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.841e-05/0.6316, allocations: 23.59 kB / 0.5702 GB, free: 6.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.6321, allocations: 290.3 kB / 0.5705 GB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.6323, allocations: 67.48 kB / 0.5706 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.6323, allocations: 0 / 0.5706 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.6325, allocations: 69.7 kB / 0.5706 GB, free: 6.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.6325, allocations: 0 / 0.5706 GB, free: 6.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006254/0.6331, allocations: 180.9 kB / 0.5708 GB, free: 6.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.6332, allocations: 59.36 kB / 0.5709 GB, free: 6.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.6334, allocations: 149 kB / 0.571 GB, free: 6.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.6334, allocations: 29.2 kB / 0.571 GB, free: 6.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.6335, allocations: 91.33 kB / 0.5711 GB, free: 5.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.6335, allocations: 27.14 kB / 0.5711 GB, free: 5.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.6335, allocations: 3.688 kB / 0.5711 GB, free: 5.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.6337, allocations: 322.6 kB / 0.5714 GB, free: 5.637 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.6338, allocations: 15.19 kB / 0.5715 GB, free: 5.629 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/0.6338, allocations: 48.88 kB / 0.5715 GB, free: 5.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.204e-05/0.6339, allocations: 22.83 kB / 0.5715 GB, free: 5.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.6339, allocations: 0 / 0.5715 GB, free: 5.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.6341, allocations: 107.5 kB / 0.5716 GB, free: 5.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.6342, allocations: 4 kB / 0.5716 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6342, allocations: 0 / 0.5716 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6342, allocations: 0 / 0.5716 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.6343, allocations: 23.97 kB / 0.5717 GB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.6343, allocations: 0 / 0.5717 GB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-05/0.6344, allocations: 15.5 kB / 0.5717 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.6344, allocations: 0 / 0.5717 GB, free: 5.438 MB / 378.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.0001031/0.6345, allocations: 121.7 kB / 0.5718 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.6345, allocations: 11.81 kB / 0.5718 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.6348, allocations: 123 kB / 0.5719 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.6348, allocations: 0 / 0.5719 GB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.6348, allocations: 4 kB / 0.5719 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.6348, allocations: 3.984 kB / 0.5719 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.6353, allocations: 401.6 kB / 0.5723 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6353, allocations: 0 / 0.5723 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.6354, allocations: 15.98 kB / 0.5723 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.6354, allocations: 4.359 kB / 0.5723 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.6354, allocations: 0 / 0.5723 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.6354, allocations: 15.89 kB / 0.5723 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6354, allocations: 4.031 kB / 0.5723 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.6357, allocations: 211.3 kB / 0.5725 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.6357, allocations: 104.5 kB / 0.5726 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.6358, allocations: 3.953 kB / 0.5727 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.6359, allocations: 7.688 kB / 0.5727 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.6359, allocations: 11.98 kB / 0.5727 GB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.6359, allocations: 0 / 0.5727 GB, free: 4.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.533e-05/0.636, allocations: 129.6 kB / 0.5728 GB, free: 4.281 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.636, allocations: 0 / 0.5728 GB, free: 4.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.6363, allocations: 31.55 kB / 0.5728 GB, free: 4.254 MB / 378.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.001052/0.6373, allocations: 476.2 kB / 0.5733 GB, free: 3.852 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.6375, allocations: 61.28 kB / 0.5733 GB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6376, allocations: 7.938 kB / 0.5733 GB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.6376, allocations: 34.05 kB / 0.5734 GB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.6379, allocations: 19.23 kB / 0.5734 GB, free: 3.758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.6384, allocations: 221.5 kB / 0.5736 GB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.6387, allocations: 0.705 MB / 0.5743 GB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.33e-05/0.6387, allocations: 16.55 kB / 0.5743 GB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.6388, allocations: 16.25 kB / 0.5743 GB, free: 2.758 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6388, allocations: 0 / 0.5743 GB, free: 2.758 MB / 378.7 MB Notification: Performance of Templates: time 0.004267/0.6431, allocations: 1.629 MB / 0.5759 GB, free: 1.145 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches