Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001826/0.001826, allocations: 182.8 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.905/1.905, 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.0009279/0.0009273, allocations: 98.84 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.2521/0.2521, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003965, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1509, allocations: 58.84 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4694/0.6203, allocations: 87.73 MB / 0.5644 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.6206, allocations: 74.97 kB / 0.5645 GB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01587/0.6365, allocations: 5.706 MB / 0.5701 GB, free: 7.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.6366, allocations: 0 / 0.5701 GB, free: 7.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.6366, allocations: 4 kB / 0.5701 GB, free: 7.227 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.0006756/0.6373, allocations: 437.1 kB / 0.5705 GB, free: 6.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.6374, allocations: 12.03 kB / 0.5705 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.6374, allocations: 11.84 kB / 0.5705 GB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.6378, allocations: 237.4 kB / 0.5707 GB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.6378, allocations: 0 / 0.5707 GB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.6379, allocations: 4 kB / 0.5707 GB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.638, allocations: 52.73 kB / 0.5708 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.6381, allocations: 0 / 0.5708 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.6381, allocations: 0 / 0.5708 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.6381, allocations: 0 / 0.5708 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.217e-05/0.6382, allocations: 23.3 kB / 0.5708 GB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.6387, allocations: 324.9 kB / 0.5711 GB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.6389, allocations: 57.61 kB / 0.5712 GB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.6389, allocations: 7.922 kB / 0.5712 GB, free: 6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.639, allocations: 66.08 kB / 0.5712 GB, free: 5.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.6391, allocations: 4 kB / 0.5713 GB, free: 5.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006587/0.6397, allocations: 192.2 kB / 0.5714 GB, free: 5.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.6398, allocations: 55.36 kB / 0.5715 GB, free: 5.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.64, allocations: 233 kB / 0.5717 GB, free: 5.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.6401, allocations: 33.69 kB / 0.5717 GB, free: 5.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.6401, allocations: 108.2 kB / 0.5718 GB, free: 5.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.6402, allocations: 22.97 kB / 0.5719 GB, free: 5.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-06/0.6402, allocations: 7.688 kB / 0.5719 GB, free: 5.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.6404, allocations: 330.1 kB / 0.5722 GB, free: 5.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-05/0.6404, allocations: 19.67 kB / 0.5722 GB, free: 5.004 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.6405, allocations: 36.52 kB / 0.5722 GB, free: 4.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.808e-05/0.6406, allocations: 19.38 kB / 0.5723 GB, free: 4.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6406, allocations: 3.984 kB / 0.5723 GB, free: 4.957 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001848/0.6408, allocations: 111.6 kB / 0.5724 GB, free: 4.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6408, allocations: 8 kB / 0.5724 GB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6408, allocations: 4.031 kB / 0.5724 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.6408, allocations: 0 / 0.5724 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.6409, allocations: 16.17 kB / 0.5724 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6409, allocations: 4 kB / 0.5724 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.641, allocations: 11.27 kB / 0.5724 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.641, allocations: 4 kB / 0.5724 GB, free: 4.816 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.0001259/0.6411, allocations: 141.1 kB / 0.5726 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.6412, allocations: 15.81 kB / 0.5726 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.6415, allocations: 130 kB / 0.5727 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6415, allocations: 4 kB / 0.5727 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6415, allocations: 0 / 0.5727 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.6415, allocations: 3.984 kB / 0.5727 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.6421, allocations: 433.3 kB / 0.5731 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.6421, allocations: 0 / 0.5731 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.6422, allocations: 8.75 kB / 0.5731 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.6422, allocations: 8.031 kB / 0.5731 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.6422, allocations: 0.5625 kB / 0.5731 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.6422, allocations: 3.953 kB / 0.5731 GB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.6422, allocations: 4 kB / 0.5731 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.6425, allocations: 227.8 kB / 0.5734 GB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.126e-05/0.6426, allocations: 103.7 kB / 0.5735 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.6426, allocations: 10.95 kB / 0.5735 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.6427, allocations: 8 kB / 0.5735 GB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.6427, allocations: 11.67 kB / 0.5735 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.6427, allocations: 0 / 0.5735 GB, free: 3.715 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002002/0.643, allocations: 203.8 kB / 0.5737 GB, free: 3.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.643, allocations: 0 / 0.5737 GB, free: 3.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002781/0.6432, allocations: 35.06 kB / 0.5737 GB, free: 3.52 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.001206/0.6445, allocations: 480.2 kB / 0.5742 GB, free: 3.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.6447, allocations: 69.16 kB / 0.5742 GB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6447, allocations: 0 / 0.5742 GB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.6448, allocations: 29.23 kB / 0.5743 GB, free: 3.035 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.6451, allocations: 26.67 kB / 0.5743 GB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007061/0.6458, allocations: 320.3 kB / 0.5746 GB, free: 2.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.6463, allocations: 0.716 MB / 0.5753 GB, free: 1.953 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.676e-05/0.6464, allocations: 23.53 kB / 0.5753 GB, free: 1.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.6464, allocations: 19.44 kB / 0.5753 GB, free: 1.91 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6464, allocations: 0 / 0.5753 GB, free: 1.91 MB / 378.7 MB Notification: Performance of Templates: time 0.005261/0.6517, allocations: 1.818 MB / 0.5771 GB, free: 112 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches