Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 183.4 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.735/1.735, 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.001068/0.001068, allocations: 90.78 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.234/0.234, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004522, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1766, allocations: 58.86 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4501/0.6267, allocations: 87.56 MB / 0.5643 GB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.627, allocations: 74.7 kB / 0.5643 GB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01409/0.6411, allocations: 5.225 MB / 0.5694 GB, free: 7.793 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6412, allocations: 0 / 0.5694 GB, free: 7.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.6412, allocations: 4 kB / 0.5695 GB, free: 7.789 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005339/0.6417, allocations: 417.4 kB / 0.5698 GB, free: 7.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.6418, allocations: 12.03 kB / 0.5699 GB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.6418, allocations: 7.906 kB / 0.5699 GB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.6421, allocations: 216.2 kB / 0.5701 GB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.6422, allocations: 4 kB / 0.5701 GB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.6422, allocations: 0 / 0.5701 GB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.6423, allocations: 52.73 kB / 0.5701 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.6424, allocations: 0 / 0.5701 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.6424, allocations: 0 / 0.5701 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6424, allocations: 0 / 0.5701 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.6425, allocations: 18.55 kB / 0.5701 GB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.6427, allocations: 191.1 kB / 0.5703 GB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.6429, allocations: 49.81 kB / 0.5704 GB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.643, allocations: 3.688 kB / 0.5704 GB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.6431, allocations: 67.17 kB / 0.5704 GB, free: 6.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 4.649e-06/0.6431, allocations: 3.984 kB / 0.5704 GB, free: 6.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003211/0.6435, allocations: 103.7 kB / 0.5705 GB, free: 6.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.6435, allocations: 51.41 kB / 0.5706 GB, free: 6.504 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.6438, allocations: 175.7 kB / 0.5708 GB, free: 6.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.6438, allocations: 25.7 kB / 0.5708 GB, free: 6.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.6439, allocations: 106.7 kB / 0.5709 GB, free: 6.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.6439, allocations: 11.81 kB / 0.5709 GB, free: 6.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.6439, allocations: 3.625 kB / 0.5709 GB, free: 6.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.6441, allocations: 326.4 kB / 0.5712 GB, free: 5.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-05/0.6441, allocations: 18.8 kB / 0.5712 GB, free: 5.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.233e-05/0.6442, allocations: 32.5 kB / 0.5713 GB, free: 5.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.184e-05/0.6443, allocations: 19 kB / 0.5713 GB, free: 5.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.6443, allocations: 3.953 kB / 0.5713 GB, free: 5.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001543/0.6445, allocations: 82.14 kB / 0.5714 GB, free: 5.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.6445, allocations: 12.03 kB / 0.5714 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6445, allocations: 0 / 0.5714 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.6445, allocations: 0 / 0.5714 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.6446, allocations: 8 kB / 0.5714 GB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.6446, allocations: 4 kB / 0.5714 GB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.6447, allocations: 3.984 kB / 0.5714 GB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.6447, allocations: 7.938 kB / 0.5714 GB, free: 5.715 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 (7): * Single equations (assignments): 7 * 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.0001112/0.6448, allocations: 128.9 kB / 0.5715 GB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.6448, allocations: 15.77 kB / 0.5715 GB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.6451, allocations: 99.28 kB / 0.5716 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6451, allocations: 0 / 0.5716 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6451, allocations: 0 / 0.5716 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6451, allocations: 0 / 0.5716 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.6453, allocations: 187.1 kB / 0.5718 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6453, allocations: 4 kB / 0.5718 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.6453, allocations: 11.89 kB / 0.5718 GB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.6453, allocations: 0 / 0.5718 GB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.6453, allocations: 0 / 0.5718 GB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.6453, allocations: 4.359 kB / 0.5718 GB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6453, allocations: 4 kB / 0.5718 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.6455, allocations: 114.6 kB / 0.5719 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.6456, allocations: 92.92 kB / 0.572 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.6457, allocations: 7.391 kB / 0.572 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.245e-05/0.6457, allocations: 7.984 kB / 0.572 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.6457, allocations: 0 / 0.572 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.6458, allocations: 4 kB / 0.572 GB, free: 5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.6459, allocations: 146.1 kB / 0.5722 GB, free: 4.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6459, allocations: 0 / 0.5722 GB, free: 4.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002076/0.6461, allocations: 18.94 kB / 0.5722 GB, free: 4.859 MB / 378.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: 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 (6): * Single equations (assignments): 4 * 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.001096/0.6472, allocations: 422.8 kB / 0.5726 GB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.6474, allocations: 46.97 kB / 0.5727 GB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6474, allocations: 0 / 0.5727 GB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.764e-05/0.6475, allocations: 31.61 kB / 0.5727 GB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.6477, allocations: 22.8 kB / 0.5727 GB, free: 4.422 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004914/0.6482, allocations: 211 kB / 0.5729 GB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.6486, allocations: 0.7108 MB / 0.5736 GB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.5e-05/0.6487, allocations: 16.36 kB / 0.5736 GB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.6487, allocations: 15.42 kB / 0.5736 GB, free: 3.434 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.6487, allocations: 3.938 kB / 0.5736 GB, free: 3.43 MB / 378.7 MB Notification: Performance of Templates: time 0.004032/0.6528, allocations: 1.459 MB / 0.5751 GB, free: 1.984 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches