Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002328/0.002328, allocations: 184 kB / 15.76 MB, free: 6.363 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.667/1.667, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0007964/0.0007964, allocations: 102.8 kB / 270.2 MB, free: 13.35 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.2639/0.2639, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004047, allocations: 12 kB / 431.4 MB, free: 19.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1689, allocations: 58.85 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4635/0.6325, allocations: 87.56 MB / 0.5643 GB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.6328, allocations: 72.28 kB / 0.5643 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01565/0.6485, allocations: 5.539 MB / 0.5697 GB, free: 7.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6486, allocations: 0 / 0.5697 GB, free: 7.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.6486, allocations: 4 kB / 0.5698 GB, free: 7.445 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.0005675/0.6492, allocations: 436.8 kB / 0.5702 GB, free: 6.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6492, allocations: 8.031 kB / 0.5702 GB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.6493, allocations: 15.81 kB / 0.5702 GB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.6496, allocations: 237.3 kB / 0.5704 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.6497, allocations: 0 / 0.5704 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.6497, allocations: 4 kB / 0.5704 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.6498, allocations: 45.3 kB / 0.5705 GB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.6499, allocations: 0 / 0.5705 GB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.6499, allocations: 4 kB / 0.5705 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.6499, allocations: 0 / 0.5705 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.369e-05/0.65, allocations: 22.98 kB / 0.5705 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.6502, allocations: 202.4 kB / 0.5707 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.6504, allocations: 52.81 kB / 0.5707 GB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.6504, allocations: 0 / 0.5707 GB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.6506, allocations: 66.09 kB / 0.5708 GB, free: 6.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.837e-06/0.6506, allocations: 0 / 0.5708 GB, free: 6.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003317/0.651, allocations: 105.5 kB / 0.5709 GB, free: 6.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.651, allocations: 55.41 kB / 0.5709 GB, free: 6.109 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.6514, allocations: 237.1 kB / 0.5712 GB, free: 5.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.6514, allocations: 29.7 kB / 0.5712 GB, free: 5.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.6515, allocations: 106.6 kB / 0.5713 GB, free: 5.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.6515, allocations: 15.25 kB / 0.5713 GB, free: 5.766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.6515, allocations: 0 / 0.5713 GB, free: 5.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6517, allocations: 329.3 kB / 0.5716 GB, free: 5.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.243e-05/0.6517, allocations: 17.98 kB / 0.5717 GB, free: 5.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.907e-05/0.6518, allocations: 37.19 kB / 0.5717 GB, free: 5.391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.549e-05/0.6519, allocations: 18.75 kB / 0.5717 GB, free: 5.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.6519, allocations: 3.953 kB / 0.5717 GB, free: 5.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001587/0.652, allocations: 82.89 kB / 0.5718 GB, free: 5.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.6521, allocations: 4 kB / 0.5718 GB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.6521, allocations: 4 kB / 0.5718 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.6521, allocations: 0 / 0.5718 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.6522, allocations: 15.92 kB / 0.5718 GB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6523, allocations: 4.031 kB / 0.5718 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.6523, allocations: 15.39 kB / 0.5718 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.6523, allocations: 4 kB / 0.5718 GB, free: 5.258 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.0001276/0.6525, allocations: 133 kB / 0.572 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.6525, allocations: 15.86 kB / 0.572 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.6527, allocations: 101.2 kB / 0.5721 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.6527, allocations: 4 kB / 0.5721 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.6528, allocations: 4 kB / 0.5721 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6528, allocations: 3.938 kB / 0.5721 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.653, allocations: 208.1 kB / 0.5723 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.653, allocations: 384 / 0.5723 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.653, allocations: 7.953 kB / 0.5723 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.653, allocations: 0 / 0.5723 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.6531, allocations: 4 kB / 0.5723 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6531, allocations: 0 / 0.5723 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6531, allocations: 3.984 kB / 0.5723 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.6533, allocations: 123.1 kB / 0.5724 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.6534, allocations: 92.58 kB / 0.5725 GB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.6534, allocations: 7.953 kB / 0.5725 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.349e-05/0.6535, allocations: 3.984 kB / 0.5725 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.6535, allocations: 7.938 kB / 0.5725 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.6536, allocations: 4 kB / 0.5725 GB, free: 4.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001968/0.6538, allocations: 200 kB / 0.5727 GB, free: 4.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6538, allocations: 3.938 kB / 0.5727 GB, free: 4.336 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.654, allocations: 23.56 kB / 0.5727 GB, free: 4.316 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.001034/0.655, allocations: 418.8 kB / 0.5731 GB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.6552, allocations: 42.78 kB / 0.5732 GB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6552, allocations: 0 / 0.5732 GB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.73e-05/0.6553, allocations: 31.05 kB / 0.5732 GB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.6555, allocations: 27.3 kB / 0.5732 GB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.6561, allocations: 283.8 kB / 0.5735 GB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.6564, allocations: 0.7232 MB / 0.5742 GB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.6565, allocations: 16.42 kB / 0.5742 GB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.6565, allocations: 15.44 kB / 0.5742 GB, free: 2.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6566, allocations: 0 / 0.5742 GB, free: 2.82 MB / 378.7 MB Notification: Performance of Templates: time 0.004473/0.661, allocations: 1.602 MB / 0.5758 GB, free: 1.23 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches