Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 181.2 kB / 17.41 MB, free: 4.406 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.711/1.711, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0007797/0.0007797, allocations: 93.42 kB / 271.9 MB, free: 8.25 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.4297/0.4297, allocations: 43.55 MB / 363.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.000364, allocations: 12 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 58.84 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3919/0.5257, allocations: 87.99 MB / 0.5659 GB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.526, allocations: 79.95 kB / 0.5659 GB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01591/0.5419, allocations: 5.975 MB / 0.5718 GB, free: 8.273 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.542, allocations: 0 / 0.5718 GB, free: 8.273 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.542, allocations: 1.5 kB / 0.5718 GB, free: 8.273 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.0005835/0.5426, allocations: 414.1 kB / 0.5722 GB, free: 7.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.5427, allocations: 12.03 kB / 0.5722 GB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.5427, allocations: 8.844 kB / 0.5722 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.5431, allocations: 209.1 kB / 0.5724 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.5431, allocations: 4.375 kB / 0.5724 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.5431, allocations: 4.312 kB / 0.5724 GB, free: 7.551 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.5433, allocations: 71.95 kB / 0.5725 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.5433, allocations: 192 / 0.5725 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.5434, allocations: 7.938 kB / 0.5725 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5434, allocations: 4 kB / 0.5725 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.5435, allocations: 23.97 kB / 0.5725 GB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.5439, allocations: 284.8 kB / 0.5728 GB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.5441, allocations: 66.55 kB / 0.5728 GB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.5441, allocations: 20.86 kB / 0.5728 GB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.5441, allocations: 0 / 0.5728 GB, free: 7.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.5443, allocations: 74 kB / 0.5729 GB, free: 6.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.5443, allocations: 0 / 0.5729 GB, free: 6.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006025/0.5449, allocations: 173.3 kB / 0.5731 GB, free: 6.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.545, allocations: 81.11 kB / 0.5732 GB, free: 6.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.5452, allocations: 166 kB / 0.5733 GB, free: 6.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.5452, allocations: 29.7 kB / 0.5733 GB, free: 6.453 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.5453, allocations: 92.14 kB / 0.5734 GB, free: 6.359 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.5453, allocations: 23.7 kB / 0.5735 GB, free: 6.336 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-06/0.5453, allocations: 0 / 0.5735 GB, free: 6.336 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5455, allocations: 330.7 kB / 0.5738 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.636e-05/0.5456, allocations: 16 kB / 0.5738 GB, free: 5.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.5457, allocations: 46.56 kB / 0.5738 GB, free: 5.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.5458, allocations: 61.7 kB / 0.5739 GB, free: 5.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.5458, allocations: 0 / 0.5739 GB, free: 5.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.546, allocations: 105.5 kB / 0.574 GB, free: 5.758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.546, allocations: 8 kB / 0.574 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.546, allocations: 0 / 0.574 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.546, allocations: 0 / 0.574 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.5461, allocations: 15.98 kB / 0.574 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.5462, allocations: 8 kB / 0.574 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.5462, allocations: 4 kB / 0.574 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.5462, allocations: 4 kB / 0.574 GB, free: 5.719 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.0001099/0.5463, allocations: 137.4 kB / 0.5742 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.5464, allocations: 11.91 kB / 0.5742 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.5466, allocations: 122.2 kB / 0.5743 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.5467, allocations: 4 kB / 0.5743 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5467, allocations: 4 kB / 0.5743 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5467, allocations: 0 / 0.5743 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.5472, allocations: 407.1 kB / 0.5747 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5472, allocations: 0 / 0.5747 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.5472, allocations: 12 kB / 0.5747 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5472, allocations: 0 / 0.5747 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.5472, allocations: 7.984 kB / 0.5747 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.5472, allocations: 0 / 0.5747 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5473, allocations: 7.938 kB / 0.5747 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.5475, allocations: 204.3 kB / 0.5749 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.5476, allocations: 89 kB / 0.575 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.5476, allocations: 8 kB / 0.575 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.5477, allocations: 4 kB / 0.575 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.5477, allocations: 7.922 kB / 0.575 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.5478, allocations: 8 kB / 0.575 GB, free: 4.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.5479, allocations: 123.2 kB / 0.5751 GB, free: 4.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5479, allocations: 3.938 kB / 0.5751 GB, free: 4.473 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002794/0.5482, allocations: 36 kB / 0.5752 GB, free: 4.438 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.001128/0.5493, allocations: 0.5013 MB / 0.5757 GB, free: 4.035 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.5495, allocations: 63.89 kB / 0.5757 GB, free: 3.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5495, allocations: 0 / 0.5757 GB, free: 3.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.419e-05/0.5496, allocations: 31.98 kB / 0.5758 GB, free: 3.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.5499, allocations: 28.11 kB / 0.5758 GB, free: 3.914 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.5504, allocations: 249.8 kB / 0.576 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5507, allocations: 0.7005 MB / 0.5767 GB, free: 2.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.5508, allocations: 19.42 kB / 0.5767 GB, free: 2.898 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5508, allocations: 0 / 0.5767 GB, free: 2.898 MB / 394.7 MB Notification: Performance of Templates: time 0.003722/0.5545, allocations: 2.037 MB / 0.5787 GB, free: 0.8711 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches