Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 179.9 kB / 13.66 MB, free: 1.664 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.995/1.995, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001095/0.001095, allocations: 82.66 kB / 267.5 MB, free: 14.05 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.2761/0.2761, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.345e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4989/0.6121, allocations: 87.63 MB / 0.5584 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.6125, allocations: 77.36 kB / 0.5584 GB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02714/0.6396, allocations: 5.674 MB / 0.564 GB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6397, allocations: 0 / 0.564 GB, free: 11.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.6397, allocations: 11.94 kB / 0.564 GB, free: 11.1 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.0006071/0.6403, allocations: 410.5 kB / 0.5644 GB, free: 10.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.6404, allocations: 8.031 kB / 0.5644 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.6405, allocations: 11.91 kB / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.6409, allocations: 227.2 kB / 0.5646 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.6409, allocations: 2.688 kB / 0.5646 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.641, allocations: 4 kB / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.6411, allocations: 56.55 kB / 0.5647 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.6412, allocations: 0 / 0.5647 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.6412, allocations: 3.812 kB / 0.5647 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.6412, allocations: 0 / 0.5647 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.6413, allocations: 23.05 kB / 0.5647 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.6418, allocations: 314.4 kB / 0.565 GB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.642, allocations: 61.55 kB / 0.5651 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.6421, allocations: 19.67 kB / 0.5651 GB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.6421, allocations: 0 / 0.5651 GB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.6423, allocations: 67.27 kB / 0.5652 GB, free: 9.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.983e-06/0.6423, allocations: 0 / 0.5652 GB, free: 9.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006346/0.6429, allocations: 169.9 kB / 0.5653 GB, free: 9.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.643, allocations: 58.84 kB / 0.5654 GB, free: 9.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.6434, allocations: 238.7 kB / 0.5656 GB, free: 9.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.6435, allocations: 33.69 kB / 0.5656 GB, free: 9.367 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.6436, allocations: 165 kB / 0.5658 GB, free: 9.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.6436, allocations: 22.84 kB / 0.5658 GB, free: 9.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.6437, allocations: 3.438 kB / 0.5658 GB, free: 9.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6438, allocations: 318.8 kB / 0.5661 GB, free: 8.879 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.6439, allocations: 19 kB / 0.5661 GB, free: 8.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.6439, allocations: 36.09 kB / 0.5662 GB, free: 8.836 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.349e-05/0.644, allocations: 26.8 kB / 0.5662 GB, free: 8.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.644, allocations: 0 / 0.5662 GB, free: 8.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002353/0.6443, allocations: 90.91 kB / 0.5663 GB, free: 8.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.6443, allocations: 4 kB / 0.5663 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6443, allocations: 0 / 0.5663 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.6444, allocations: 4 kB / 0.5663 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.6445, allocations: 23.61 kB / 0.5663 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.6446, allocations: 3.953 kB / 0.5663 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.6447, allocations: 8.031 kB / 0.5663 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.6447, allocations: 4 kB / 0.5663 GB, free: 8.691 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 8.581e-05/0.6448, allocations: 104.7 kB / 0.5664 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.6448, allocations: 15.89 kB / 0.5664 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.6452, allocations: 131.2 kB / 0.5666 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.6452, allocations: 0 / 0.5666 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6452, allocations: 0 / 0.5666 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.6453, allocations: 3.953 kB / 0.5666 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006803/0.6459, allocations: 427.1 kB / 0.567 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.646, allocations: 4 kB / 0.567 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.592e-05/0.6461, allocations: 11.98 kB / 0.567 GB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.6461, allocations: 0 / 0.567 GB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.6461, allocations: 3.25 kB / 0.567 GB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.6461, allocations: 7.953 kB / 0.567 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6461, allocations: 0 / 0.567 GB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.6465, allocations: 219.1 kB / 0.5672 GB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.6466, allocations: 104.5 kB / 0.5673 GB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.6466, allocations: 7.766 kB / 0.5673 GB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.6468, allocations: 4 kB / 0.5673 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.6468, allocations: 11.92 kB / 0.5673 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.6469, allocations: 7.938 kB / 0.5673 GB, free: 7.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000287/0.6472, allocations: 205.4 kB / 0.5675 GB, free: 7.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6472, allocations: 4 kB / 0.5675 GB, free: 7.461 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004078/0.6476, allocations: 39.17 kB / 0.5676 GB, free: 7.426 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.001254/0.6489, allocations: 417.4 kB / 0.568 GB, free: 7.066 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.6491, allocations: 61.38 kB / 0.568 GB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6491, allocations: 0 / 0.568 GB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.687e-05/0.6492, allocations: 39.22 kB / 0.5681 GB, free: 6.992 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.6496, allocations: 27.66 kB / 0.5681 GB, free: 6.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.6503, allocations: 251.5 kB / 0.5683 GB, free: 6.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.6507, allocations: 0.7274 MB / 0.5691 GB, free: 5.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.6508, allocations: 15.44 kB / 0.5691 GB, free: 5.961 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6508, allocations: 0 / 0.5691 GB, free: 5.961 MB / 378.7 MB Notification: Performance of Templates: time 0.006041/0.6568, allocations: 2.148 MB / 0.5712 GB, free: 3.824 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches