Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002214/0.002214, 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.713/1.713, 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.0009666/0.0009663, allocations: 106.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.2104/0.2104, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003178, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1319, allocations: 58.87 MB / 490.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4275/0.5595, allocations: 87.67 MB / 0.5644 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.5599, allocations: 80.39 kB / 0.5645 GB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01534/0.5752, allocations: 5.249 MB / 0.5696 GB, free: 7.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.5753, allocations: 4 kB / 0.5696 GB, free: 7.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.5753, allocations: 4 kB / 0.5696 GB, free: 7.652 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.0005242/0.5758, allocations: 414.7 kB / 0.57 GB, free: 7.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5759, allocations: 8.031 kB / 0.57 GB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.5759, allocations: 7.906 kB / 0.57 GB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.5762, allocations: 209.1 kB / 0.5702 GB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.5762, allocations: 11.06 kB / 0.5702 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.5763, allocations: 0 / 0.5702 GB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.5764, allocations: 60.86 kB / 0.5703 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5765, allocations: 0 / 0.5703 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5765, allocations: 0 / 0.5703 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.5765, allocations: 0 / 0.5703 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.5766, allocations: 22.73 kB / 0.5703 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.577, allocations: 296.9 kB / 0.5706 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.5772, allocations: 63.8 kB / 0.5706 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.5772, allocations: 0 / 0.5706 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.5773, allocations: 65.33 kB / 0.5707 GB, free: 6.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.5773, allocations: 7.938 kB / 0.5707 GB, free: 6.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005367/0.5779, allocations: 167.9 kB / 0.5709 GB, free: 6.277 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.578, allocations: 55.36 kB / 0.5709 GB, free: 6.211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.5781, allocations: 173.2 kB / 0.5711 GB, free: 6.055 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.5781, allocations: 29.7 kB / 0.5711 GB, free: 6.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.5782, allocations: 100.9 kB / 0.5712 GB, free: 5.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.5782, allocations: 22.95 kB / 0.5712 GB, free: 5.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.5783, allocations: 0 / 0.5712 GB, free: 5.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5784, allocations: 325.3 kB / 0.5715 GB, free: 5.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.5784, allocations: 22.55 kB / 0.5716 GB, free: 5.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.207e-05/0.5785, allocations: 38.89 kB / 0.5716 GB, free: 5.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.63e-05/0.5786, allocations: 22.5 kB / 0.5716 GB, free: 5.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5786, allocations: 0 / 0.5716 GB, free: 5.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001902/0.5788, allocations: 105.5 kB / 0.5717 GB, free: 5.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.5788, allocations: 4 kB / 0.5717 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.5788, allocations: 0 / 0.5717 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.5788, allocations: 0 / 0.5717 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.923e-05/0.5789, allocations: 20.36 kB / 0.5717 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5789, allocations: 0 / 0.5717 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.579, allocations: 15.98 kB / 0.5718 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.579, allocations: 3.375 kB / 0.5718 GB, free: 5.395 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 9.995e-05/0.5791, allocations: 125.2 kB / 0.5719 GB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.5791, allocations: 7.906 kB / 0.5719 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.5794, allocations: 125.2 kB / 0.572 GB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.5794, allocations: 4 kB / 0.572 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5794, allocations: 0 / 0.572 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.5794, allocations: 3.984 kB / 0.572 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.5799, allocations: 413.5 kB / 0.5724 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5799, allocations: 0 / 0.5724 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.58, allocations: 19.92 kB / 0.5724 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.58, allocations: 288 / 0.5724 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.58, allocations: 0 / 0.5724 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.58, allocations: 11.89 kB / 0.5724 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.58, allocations: 3.938 kB / 0.5724 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.5803, allocations: 218.9 kB / 0.5727 GB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.5803, allocations: 95.28 kB / 0.5727 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.5804, allocations: 5.328 kB / 0.5728 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.5805, allocations: 5.125 kB / 0.5728 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.5805, allocations: 8.547 kB / 0.5728 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.5805, allocations: 4.938 kB / 0.5728 GB, free: 4.336 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.5807, allocations: 135 kB / 0.5729 GB, free: 4.219 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5807, allocations: 0 / 0.5729 GB, free: 4.219 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.5809, allocations: 28.38 kB / 0.5729 GB, free: 4.195 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.001027/0.582, allocations: 479.8 kB / 0.5734 GB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.5822, allocations: 62.78 kB / 0.5734 GB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5822, allocations: 0 / 0.5734 GB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.5822, allocations: 37.11 kB / 0.5735 GB, free: 3.715 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.5825, allocations: 19.67 kB / 0.5735 GB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.583, allocations: 242.1 kB / 0.5737 GB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.5833, allocations: 0.7082 MB / 0.5744 GB, free: 2.707 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.335e-05/0.5834, allocations: 16.55 kB / 0.5744 GB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.5834, allocations: 15.44 kB / 0.5744 GB, free: 2.676 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5834, allocations: 0 / 0.5744 GB, free: 2.676 MB / 378.7 MB Notification: Performance of Templates: time 0.004114/0.5875, allocations: 1.653 MB / 0.5761 GB, free: 1.039 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches