Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,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.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002286/0.002286, allocations: 179.9 kB / 13.66 MB, free: 1.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001429/0.001429, allocations: 90.64 kB / 267.5 MB, free: 14.1 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.2902/0.2902, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.578e-05, allocations: 7.984 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1227, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4981/0.6209, allocations: 87.61 MB / 0.5584 GB, free: 36 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.6213, allocations: 80.58 kB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02456/0.6459, allocations: 5.429 MB / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.646, allocations: 0 / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.478e-05/0.646, allocations: 7.938 kB / 0.5637 GB, free: 11.4 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.0005787/0.6466, allocations: 394.8 kB / 0.5641 GB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.6466, allocations: 8.031 kB / 0.5641 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.6467, allocations: 19.81 kB / 0.5641 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.6471, allocations: 218.8 kB / 0.5644 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.6472, allocations: 0 / 0.5644 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.6472, allocations: 7.188 kB / 0.5644 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.6474, allocations: 53.05 kB / 0.5644 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.6474, allocations: 0 / 0.5644 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.6474, allocations: 0 / 0.5644 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.6474, allocations: 4 kB / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.062e-05/0.6475, allocations: 15.48 kB / 0.5644 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.648, allocations: 305.5 kB / 0.5647 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.6482, allocations: 52.56 kB / 0.5648 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.183e-05/0.6483, allocations: 19.66 kB / 0.5648 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.6483, allocations: 0 / 0.5648 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.6485, allocations: 72.97 kB / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.384e-06/0.6485, allocations: 0 / 0.5649 GB, free: 10.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000624/0.6491, allocations: 158.1 kB / 0.565 GB, free: 10.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.6492, allocations: 55.34 kB / 0.5651 GB, free: 9.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.6496, allocations: 190.2 kB / 0.5652 GB, free: 9.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.6496, allocations: 28.58 kB / 0.5653 GB, free: 9.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.756e-05/0.6497, allocations: 160 kB / 0.5654 GB, free: 9.605 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.6498, allocations: 22.97 kB / 0.5654 GB, free: 9.586 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.6498, allocations: 2.438 kB / 0.5654 GB, free: 9.586 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.65, allocations: 325.2 kB / 0.5658 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.481e-05/0.6501, allocations: 18.25 kB / 0.5658 GB, free: 9.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/0.6502, allocations: 30.34 kB / 0.5658 GB, free: 9.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.618e-05/0.6503, allocations: 21.48 kB / 0.5658 GB, free: 9.207 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6503, allocations: 192 / 0.5658 GB, free: 9.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002565/0.6506, allocations: 99.23 kB / 0.5659 GB, free: 9.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.6506, allocations: 7.938 kB / 0.5659 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.6506, allocations: 8.094 kB / 0.5659 GB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.6506, allocations: 4 kB / 0.5659 GB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.6508, allocations: 15.98 kB / 0.566 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.6508, allocations: 3.953 kB / 0.566 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.651, allocations: 4 kB / 0.566 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.651, allocations: 7.625 kB / 0.566 GB, free: 9.074 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 () * 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.0001119/0.6511, allocations: 108.9 kB / 0.5661 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.6512, allocations: 15.81 kB / 0.5661 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.6515, allocations: 121 kB / 0.5662 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6516, allocations: 0 / 0.5662 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6516, allocations: 0 / 0.5662 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.6516, allocations: 3.953 kB / 0.5662 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007123/0.6523, allocations: 411.2 kB / 0.5666 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6523, allocations: 0 / 0.5666 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.029e-05/0.6524, allocations: 8 kB / 0.5666 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.6525, allocations: 0 / 0.5666 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.6525, allocations: 12.02 kB / 0.5666 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.6525, allocations: 3.953 kB / 0.5666 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6525, allocations: 0 / 0.5666 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.6529, allocations: 219.9 kB / 0.5668 GB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.637e-05/0.653, allocations: 89.02 kB / 0.5669 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.653, allocations: 11.62 kB / 0.5669 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.6532, allocations: 8 kB / 0.5669 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.6532, allocations: 4 kB / 0.5669 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.6533, allocations: 11.92 kB / 0.567 GB, free: 8.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002061/0.6535, allocations: 150.7 kB / 0.5671 GB, free: 7.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6535, allocations: 0 / 0.5671 GB, free: 7.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003958/0.6539, allocations: 35.5 kB / 0.5671 GB, free: 7.887 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) * 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.001365/0.6553, allocations: 429.5 kB / 0.5675 GB, free: 7.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.6556, allocations: 58.48 kB / 0.5676 GB, free: 7.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.6557, allocations: 4 kB / 0.5676 GB, free: 7.477 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.6558, allocations: 27.31 kB / 0.5676 GB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.6562, allocations: 29.12 kB / 0.5677 GB, free: 7.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.6568, allocations: 205.7 kB / 0.5678 GB, free: 7.227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.6572, allocations: 0.7082 MB / 0.5685 GB, free: 6.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.6573, allocations: 23.17 kB / 0.5686 GB, free: 6.473 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6573, allocations: 0 / 0.5686 GB, free: 6.473 MB / 378.7 MB Notification: Performance of Templates: time 0.005807/0.6631, allocations: 1.958 MB / 0.5705 GB, free: 4.523 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches