Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 183.9 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.698/1.698, 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.0008597/0.0008597, allocations: 90.88 kB / 270.2 MB, free: 13.37 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.2312/0.2312, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1621, allocations: 58.86 MB / 490.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.497/0.6592, allocations: 87.71 MB / 0.5644 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.6595, allocations: 82.11 kB / 0.5645 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01542/0.675, allocations: 5.503 MB / 0.5699 GB, free: 7.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.819e-06/0.6751, allocations: 0 / 0.5699 GB, free: 7.461 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.6751, allocations: 4 kB / 0.5699 GB, free: 7.457 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.0008009/0.6759, allocations: 432.4 kB / 0.5703 GB, free: 6.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.676, allocations: 8.031 kB / 0.5703 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.676, allocations: 11.91 kB / 0.5703 GB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.6764, allocations: 221.8 kB / 0.5705 GB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.6764, allocations: 4 kB / 0.5705 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.6764, allocations: 0 / 0.5705 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.6766, allocations: 57.03 kB / 0.5706 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.6767, allocations: 3.938 kB / 0.5706 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.6767, allocations: 3.438 kB / 0.5706 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.6767, allocations: 11.94 kB / 0.5706 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.6768, allocations: 19.92 kB / 0.5706 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.6773, allocations: 294 kB / 0.5709 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.6774, allocations: 68.3 kB / 0.571 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.6775, allocations: 0 / 0.571 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.6776, allocations: 66.77 kB / 0.571 GB, free: 6.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.6776, allocations: 0 / 0.571 GB, free: 6.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005854/0.6782, allocations: 182.5 kB / 0.5712 GB, free: 6.035 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.6783, allocations: 55.36 kB / 0.5713 GB, free: 5.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.6785, allocations: 193.8 kB / 0.5714 GB, free: 5.797 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.6785, allocations: 29.7 kB / 0.5715 GB, free: 5.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.6786, allocations: 114.8 kB / 0.5716 GB, free: 5.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.6787, allocations: 22.77 kB / 0.5716 GB, free: 5.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-06/0.6787, allocations: 3.938 kB / 0.5716 GB, free: 5.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.6789, allocations: 322.5 kB / 0.5719 GB, free: 5.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.6789, allocations: 23.23 kB / 0.5719 GB, free: 5.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.792e-05/0.679, allocations: 32.77 kB / 0.572 GB, free: 5.273 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.493e-05/0.6791, allocations: 26.25 kB / 0.572 GB, free: 5.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.6791, allocations: 8 kB / 0.572 GB, free: 5.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.6793, allocations: 103 kB / 0.5721 GB, free: 5.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.6793, allocations: 11.44 kB / 0.5721 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.6793, allocations: 3.938 kB / 0.5721 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.6794, allocations: 0 / 0.5721 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.6795, allocations: 19.92 kB / 0.5721 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.6795, allocations: 4 kB / 0.5721 GB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.6795, allocations: 3.953 kB / 0.5721 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.6796, allocations: 4 kB / 0.5721 GB, free: 5.121 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.0001362/0.6797, allocations: 137.4 kB / 0.5723 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.6797, allocations: 11.81 kB / 0.5723 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.68, allocations: 120.4 kB / 0.5724 GB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.68, allocations: 4 kB / 0.5724 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.68, allocations: 0 / 0.5724 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6801, allocations: 0 / 0.5724 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.6806, allocations: 423.2 kB / 0.5728 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6807, allocations: 0 / 0.5728 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.6807, allocations: 8 kB / 0.5728 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.6807, allocations: 7.938 kB / 0.5728 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.6807, allocations: 5.109 kB / 0.5728 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6807, allocations: 3.953 kB / 0.5728 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.6807, allocations: 7.938 kB / 0.5728 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.6811, allocations: 219.8 kB / 0.573 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.775e-05/0.6812, allocations: 91.44 kB / 0.5731 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.453e-05/0.6812, allocations: 9.516 kB / 0.5731 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.71e-05/0.6813, allocations: 9.125 kB / 0.5731 GB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.6813, allocations: 4.609 kB / 0.5732 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.6813, allocations: 8.5 kB / 0.5732 GB, free: 4.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.6815, allocations: 156.7 kB / 0.5733 GB, free: 3.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6815, allocations: 0 / 0.5733 GB, free: 3.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.6818, allocations: 44.92 kB / 0.5734 GB, free: 3.879 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.001154/0.683, allocations: 473.2 kB / 0.5738 GB, free: 3.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.6832, allocations: 64.53 kB / 0.5739 GB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.6832, allocations: 0 / 0.5739 GB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/0.6833, allocations: 39.16 kB / 0.5739 GB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.6836, allocations: 25.53 kB / 0.5739 GB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.6842, allocations: 275 kB / 0.5742 GB, free: 3.098 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.6846, allocations: 0.7157 MB / 0.5749 GB, free: 2.359 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.307e-05/0.6847, allocations: 16.55 kB / 0.5749 GB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.6847, allocations: 23.42 kB / 0.5749 GB, free: 2.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6848, allocations: 0 / 0.5749 GB, free: 2.32 MB / 378.7 MB Notification: Performance of Templates: time 0.005002/0.6898, allocations: 1.723 MB / 0.5766 GB, free: 0.6133 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches