Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 176.9 kB / 16.76 MB, free: 4.934 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.752/1.752, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.000834/0.0008342, allocations: 90.36 kB / 271.3 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4151/0.4151, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005117/0.0005117, allocations: 12 kB / 432.6 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1657, allocations: 58.84 MB / 491.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4116/0.5773, allocations: 87.76 MB / 0.5657 GB, free: 14.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/0.5778, allocations: 82.48 kB / 0.5657 GB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02483/0.6026, allocations: 5.394 MB / 0.571 GB, free: 8.633 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6027, allocations: 0 / 0.571 GB, free: 8.633 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.6027, allocations: 4 kB / 0.571 GB, free: 8.629 MB / 394.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.0007242/0.6035, allocations: 422 kB / 0.5714 GB, free: 8.168 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.6035, allocations: 12.03 kB / 0.5714 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.6036, allocations: 8.844 kB / 0.5714 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.604, allocations: 223.1 kB / 0.5716 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.604, allocations: 384 / 0.5716 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.6041, allocations: 4.375 kB / 0.5716 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.6043, allocations: 58.23 kB / 0.5717 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.6043, allocations: 192 / 0.5717 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.6044, allocations: 7.922 kB / 0.5717 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.6044, allocations: 0 / 0.5717 GB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.6045, allocations: 19.98 kB / 0.5717 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.6051, allocations: 292.9 kB / 0.572 GB, free: 7.465 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.6054, allocations: 62.55 kB / 0.5721 GB, free: 7.395 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.6055, allocations: 32.78 kB / 0.5721 GB, free: 7.359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.6056, allocations: 0 / 0.5721 GB, free: 7.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.6058, allocations: 71.39 kB / 0.5722 GB, free: 7.277 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.354e-06/0.6058, allocations: 0 / 0.5722 GB, free: 7.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008578/0.6067, allocations: 173.2 kB / 0.5723 GB, free: 7.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.6068, allocations: 51.41 kB / 0.5724 GB, free: 7.039 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.6071, allocations: 186.2 kB / 0.5726 GB, free: 6.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.6071, allocations: 25.7 kB / 0.5726 GB, free: 6.816 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.6072, allocations: 104.1 kB / 0.5727 GB, free: 6.711 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.6072, allocations: 23.66 kB / 0.5727 GB, free: 6.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.6072, allocations: 4 kB / 0.5727 GB, free: 6.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6074, allocations: 326.8 kB / 0.573 GB, free: 6.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.874e-05/0.6075, allocations: 23.92 kB / 0.573 GB, free: 6.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.6076, allocations: 37.7 kB / 0.5731 GB, free: 6.289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.6078, allocations: 57.7 kB / 0.5731 GB, free: 6.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6079, allocations: 0 / 0.5731 GB, free: 6.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003258/0.6082, allocations: 117.4 kB / 0.5732 GB, free: 6.105 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6082, allocations: 4.625 kB / 0.5733 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6083, allocations: 4 kB / 0.5733 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.6083, allocations: 192 / 0.5733 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.6084, allocations: 12 kB / 0.5733 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.6085, allocations: 7.922 kB / 0.5733 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.6086, allocations: 4 kB / 0.5733 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.6086, allocations: 7.938 kB / 0.5733 GB, free: 6.066 MB / 394.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.0001501/0.6087, allocations: 129.8 kB / 0.5734 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.6088, allocations: 15.88 kB / 0.5734 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.6092, allocations: 118.3 kB / 0.5735 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.6092, allocations: 4 kB / 0.5735 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.6092, allocations: 0 / 0.5735 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6092, allocations: 0 / 0.5735 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007107/0.61, allocations: 419.4 kB / 0.5739 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.61, allocations: 0 / 0.5739 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-05/0.6101, allocations: 12.36 kB / 0.574 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.6101, allocations: 0 / 0.574 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.6101, allocations: 4 kB / 0.574 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.6101, allocations: 4 kB / 0.574 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6101, allocations: 7.875 kB / 0.574 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.6105, allocations: 212.2 kB / 0.5742 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/0.6106, allocations: 97 kB / 0.5743 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.6106, allocations: 0 / 0.5743 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.6108, allocations: 4 kB / 0.5743 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.6109, allocations: 15.92 kB / 0.5743 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.6109, allocations: 0 / 0.5743 GB, free: 4.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001933/0.6111, allocations: 144.8 kB / 0.5744 GB, free: 4.789 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6111, allocations: 0 / 0.5744 GB, free: 4.789 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004941/0.6116, allocations: 35.94 kB / 0.5745 GB, free: 4.754 MB / 394.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.0016/0.6132, allocations: 487.6 kB / 0.5749 GB, free: 4.375 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.6135, allocations: 59.92 kB / 0.575 GB, free: 4.316 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.6135, allocations: 4.062 kB / 0.575 GB, free: 4.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.6137, allocations: 31.98 kB / 0.575 GB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.6143, allocations: 23.97 kB / 0.575 GB, free: 4.258 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007331/0.615, allocations: 256.8 kB / 0.5753 GB, free: 3.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.6155, allocations: 0.7004 MB / 0.576 GB, free: 3.254 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.625e-05/0.6156, allocations: 20.84 kB / 0.576 GB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.6157, allocations: 11.44 kB / 0.576 GB, free: 3.227 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6157, allocations: 4 kB / 0.576 GB, free: 3.223 MB / 394.7 MB Notification: Performance of Templates: time 0.007192/0.6229, allocations: 1.686 MB / 0.5776 GB, free: 1.547 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches