Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001166, allocations: 182.8 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.678/1.678, 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.0008826/0.0008826, allocations: 94.86 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.1941/0.1941, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 16 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.132, allocations: 58.85 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3879/0.52, allocations: 87.57 MB / 0.5643 GB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.5203, allocations: 75.83 kB / 0.5644 GB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01777/0.5381, allocations: 6.514 MB / 0.5707 GB, free: 6.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5381, allocations: 0 / 0.5707 GB, free: 6.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.619e-05/0.5382, allocations: 8 kB / 0.5707 GB, free: 6.609 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001161/0.5394, allocations: 0.7238 MB / 0.5714 GB, free: 5.863 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.5394, allocations: 12.02 kB / 0.5714 GB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.5395, allocations: 47.44 kB / 0.5715 GB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008915/0.5404, allocations: 490.4 kB / 0.572 GB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.5405, allocations: 4 kB / 0.572 GB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.5405, allocations: 0 / 0.572 GB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.5407, allocations: 93.55 kB / 0.572 GB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.5407, allocations: 4 kB / 0.5721 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.5407, allocations: 0 / 0.5721 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5408, allocations: 0 / 0.5721 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.5409, allocations: 35.09 kB / 0.5721 GB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.5413, allocations: 382.4 kB / 0.5724 GB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.5416, allocations: 114.8 kB / 0.5726 GB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.5416, allocations: 4 kB / 0.5726 GB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.5419, allocations: 102.7 kB / 0.5727 GB, free: 4.617 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.5419, allocations: 0 / 0.5727 GB, free: 4.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005014/0.5424, allocations: 205.2 kB / 0.5729 GB, free: 4.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.5425, allocations: 82.05 kB / 0.5729 GB, free: 4.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.5437, allocations: 0.9424 MB / 0.5739 GB, free: 3.605 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.5438, allocations: 25.7 kB / 0.5739 GB, free: 3.574 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.5439, allocations: 236.5 kB / 0.5741 GB, free: 3.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.544, allocations: 31.36 kB / 0.5741 GB, free: 3.418 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.544, allocations: 3.812 kB / 0.5741 GB, free: 3.418 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5441, allocations: 377 kB / 0.5745 GB, free: 3.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.5442, allocations: 31.53 kB / 0.5745 GB, free: 3.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.256e-05/0.5443, allocations: 50.55 kB / 0.5746 GB, free: 2.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/0.5444, allocations: 40.17 kB / 0.5746 GB, free: 2.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5444, allocations: 0 / 0.5746 GB, free: 2.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002917/0.5447, allocations: 176.3 kB / 0.5748 GB, free: 2.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.5448, allocations: 11.44 kB / 0.5748 GB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5448, allocations: 0 / 0.5748 GB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5448, allocations: 0 / 0.5748 GB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.5449, allocations: 23.98 kB / 0.5748 GB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.545, allocations: 3.938 kB / 0.5748 GB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.5451, allocations: 15.84 kB / 0.5748 GB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.5451, allocations: 7.875 kB / 0.5748 GB, free: 2.754 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002188/0.5453, allocations: 233 kB / 0.5751 GB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.5454, allocations: 55.28 kB / 0.5751 GB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.5458, allocations: 203.1 kB / 0.5753 GB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5458, allocations: 7.922 kB / 0.5753 GB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.5458, allocations: 4 kB / 0.5753 GB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5458, allocations: 0 / 0.5753 GB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.5462, allocations: 385.3 kB / 0.5757 GB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5462, allocations: 0 / 0.5757 GB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.5463, allocations: 12 kB / 0.5757 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5463, allocations: 0 / 0.5757 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.5463, allocations: 7.984 kB / 0.5757 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.5463, allocations: 3.938 kB / 0.5757 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5463, allocations: 0 / 0.5757 GB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.5466, allocations: 229.6 kB / 0.5759 GB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.547, allocations: 195.7 kB / 0.5761 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.5471, allocations: 11.98 kB / 0.5761 GB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.5472, allocations: 11.69 kB / 0.5761 GB, free: 1.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.5472, allocations: 7.984 kB / 0.5761 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.5472, allocations: 4 kB / 0.5762 GB, free: 1.469 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000775/0.548, allocations: 0.7512 MB / 0.5769 GB, free: 0.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.548, allocations: 3.938 kB / 0.5769 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003075/0.5483, allocations: 83.75 kB / 0.577 GB, free: 0.8398 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009138/0.5492, allocations: 429 kB / 0.5774 GB, free: 488 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.5495, allocations: 87.33 kB / 0.5775 GB, free: 424 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5495, allocations: 4 kB / 0.5775 GB, free: 420 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.5496, allocations: 39.73 kB / 0.5775 GB, free: 388 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.55, allocations: 69.34 kB / 0.5776 GB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.5514, allocations: 0.9998 MB / 0.5785 GB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.5518, allocations: 0.854 MB / 0.5794 GB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001544/0.552, allocations: 90.5 kB / 0.5795 GB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.5521, allocations: 39.25 kB / 0.5795 GB, free: 14.39 MB / 394.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5521, allocations: 0 / 0.5795 GB, free: 14.39 MB / 394.7 MB Notification: Performance of Templates: time 0.009063/0.5612, allocations: 4.583 MB / 0.584 GB, free: 9.816 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches