Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000942/0.0009422, allocations: 183.6 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.611/1.611, 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.0009041/0.0009041, allocations: 78.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.2247/0.2247, allocations: 43.56 MB / 362.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.151, allocations: 58.85 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4725/0.6236, allocations: 87.56 MB / 0.5643 GB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.6239, allocations: 74.16 kB / 0.5643 GB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.6381, allocations: 5.227 MB / 0.5694 GB, free: 7.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.6382, allocations: 0 / 0.5694 GB, free: 7.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.6382, allocations: 4 kB / 0.5694 GB, free: 7.805 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.0006032/0.6388, allocations: 413.5 kB / 0.5698 GB, free: 7.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.6389, allocations: 12.03 kB / 0.5698 GB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.6389, allocations: 7.906 kB / 0.5699 GB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.6393, allocations: 214 kB / 0.5701 GB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.6393, allocations: 7.984 kB / 0.5701 GB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.6394, allocations: 0 / 0.5701 GB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.6395, allocations: 52.3 kB / 0.5701 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.6395, allocations: 0 / 0.5701 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.6396, allocations: 3.984 kB / 0.5701 GB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.6396, allocations: 0 / 0.5701 GB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/0.6397, allocations: 15.44 kB / 0.5701 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.64, allocations: 194.9 kB / 0.5703 GB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.6402, allocations: 52.31 kB / 0.5704 GB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.6402, allocations: 3.984 kB / 0.5704 GB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.6404, allocations: 69.78 kB / 0.5704 GB, free: 6.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.6404, allocations: 0 / 0.5704 GB, free: 6.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000387/0.6408, allocations: 98.08 kB / 0.5705 GB, free: 6.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.6409, allocations: 51.41 kB / 0.5706 GB, free: 6.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.6412, allocations: 175.5 kB / 0.5707 GB, free: 6.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.6412, allocations: 33.2 kB / 0.5708 GB, free: 6.328 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.6413, allocations: 95.2 kB / 0.5709 GB, free: 6.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.6413, allocations: 19.48 kB / 0.5709 GB, free: 6.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.6413, allocations: 0 / 0.5709 GB, free: 6.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.6415, allocations: 326.5 kB / 0.5712 GB, free: 5.902 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/0.6416, allocations: 15.55 kB / 0.5712 GB, free: 5.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.906e-05/0.6416, allocations: 28.83 kB / 0.5712 GB, free: 5.863 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.358e-05/0.6417, allocations: 19.06 kB / 0.5713 GB, free: 5.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.6417, allocations: 3.953 kB / 0.5713 GB, free: 5.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001707/0.6419, allocations: 80.45 kB / 0.5713 GB, free: 5.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.6419, allocations: 15.47 kB / 0.5714 GB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6419, allocations: 0 / 0.5714 GB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.642, allocations: 0 / 0.5714 GB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.6421, allocations: 8 kB / 0.5714 GB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.6421, allocations: 4 kB / 0.5714 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.6421, allocations: 7.734 kB / 0.5714 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.6422, allocations: 4 kB / 0.5714 GB, free: 5.742 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.0001686/0.6423, allocations: 129.2 kB / 0.5715 GB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.6424, allocations: 15.77 kB / 0.5715 GB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.6426, allocations: 100.8 kB / 0.5716 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.6426, allocations: 0 / 0.5716 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6427, allocations: 0 / 0.5716 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.6427, allocations: 0 / 0.5716 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.6429, allocations: 187.3 kB / 0.5718 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6429, allocations: 4.375 kB / 0.5718 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.6429, allocations: 7.953 kB / 0.5718 GB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.6429, allocations: 3.938 kB / 0.5718 GB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.643, allocations: 7.984 kB / 0.5718 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.643, allocations: 0 / 0.5718 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.643, allocations: 4 kB / 0.5718 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.6432, allocations: 114.3 kB / 0.5719 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.6433, allocations: 88.92 kB / 0.572 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.6433, allocations: 11.56 kB / 0.572 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.6434, allocations: 4 kB / 0.572 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.6434, allocations: 3.984 kB / 0.572 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.6434, allocations: 4 kB / 0.572 GB, free: 5.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.6436, allocations: 147.6 kB / 0.5722 GB, free: 4.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6436, allocations: 4 kB / 0.5722 GB, free: 4.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002079/0.6438, allocations: 12 kB / 0.5722 GB, free: 4.879 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.001121/0.6449, allocations: 430.9 kB / 0.5726 GB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.6451, allocations: 37.8 kB / 0.5726 GB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6451, allocations: 0 / 0.5726 GB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.6452, allocations: 31.73 kB / 0.5727 GB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.6455, allocations: 26.23 kB / 0.5727 GB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.646, allocations: 212 kB / 0.5729 GB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.6464, allocations: 0.7121 MB / 0.5736 GB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.704e-05/0.6465, allocations: 20.39 kB / 0.5736 GB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.6465, allocations: 11.44 kB / 0.5736 GB, free: 3.449 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6465, allocations: 0 / 0.5736 GB, free: 3.449 MB / 378.7 MB Notification: Performance of Templates: time 0.004304/0.6509, allocations: 1.46 MB / 0.575 GB, free: 2 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches