Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001531, allocations: 181.7 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.99/1.99, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.002139/0.00214, allocations: 94.62 kB / 267.5 MB, free: 14.11 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.2862/0.2862, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.716e-05/6.737e-05, allocations: 12 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1558, allocations: 58.85 MB / 484.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4945/0.6503, allocations: 87.63 MB / 0.5584 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.6507, allocations: 74.27 kB / 0.5585 GB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0249/0.6756, allocations: 5.395 MB / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.6756, allocations: 0 / 0.5637 GB, free: 11.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.6757, allocations: 8 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.0006303/0.6763, allocations: 397.5 kB / 0.5641 GB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.6764, allocations: 8.031 kB / 0.5641 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.359e-05/0.6765, allocations: 15.81 kB / 0.5641 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.6769, allocations: 214.9 kB / 0.5643 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.6769, allocations: 0 / 0.5643 GB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.6769, allocations: 7.938 kB / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.6771, allocations: 52.75 kB / 0.5644 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.6771, allocations: 0 / 0.5644 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.6771, allocations: 0 / 0.5644 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.6772, allocations: 4 kB / 0.5644 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.57e-05/0.6773, allocations: 19.48 kB / 0.5644 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.6778, allocations: 298.3 kB / 0.5647 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.678, allocations: 61.44 kB / 0.5648 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.678, allocations: 16.05 kB / 0.5648 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.6781, allocations: 3.938 kB / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.6782, allocations: 66.89 kB / 0.5648 GB, free: 10.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.6783, allocations: 0 / 0.5648 GB, free: 10.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006643/0.6789, allocations: 169.2 kB / 0.565 GB, free: 10.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.679, allocations: 51.41 kB / 0.5651 GB, free: 9.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/0.6795, allocations: 191.2 kB / 0.5652 GB, free: 9.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.6795, allocations: 25.7 kB / 0.5653 GB, free: 9.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.6797, allocations: 161.5 kB / 0.5654 GB, free: 9.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.6797, allocations: 27.33 kB / 0.5654 GB, free: 9.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.6798, allocations: 0 / 0.5654 GB, free: 9.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6799, allocations: 318.5 kB / 0.5657 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.79e-05/0.68, allocations: 19.5 kB / 0.5658 GB, free: 9.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/0.6801, allocations: 32.53 kB / 0.5658 GB, free: 9.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.647e-05/0.6802, allocations: 31.42 kB / 0.5658 GB, free: 9.195 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6802, allocations: 0 / 0.5658 GB, free: 9.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000234/0.6804, allocations: 87.75 kB / 0.5659 GB, free: 9.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.6805, allocations: 7.984 kB / 0.5659 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.6805, allocations: 0 / 0.5659 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.6805, allocations: 7.984 kB / 0.5659 GB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.6807, allocations: 15.5 kB / 0.5659 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.6807, allocations: 3.953 kB / 0.5659 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.755e-05/0.6808, allocations: 12.02 kB / 0.566 GB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.6809, allocations: 4 kB / 0.566 GB, free: 9.07 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.0001272/0.681, allocations: 104 kB / 0.5661 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.6811, allocations: 15.81 kB / 0.5661 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.6815, allocations: 116.8 kB / 0.5662 GB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6816, allocations: 0 / 0.5662 GB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6816, allocations: 288 / 0.5662 GB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6816, allocations: 3.953 kB / 0.5662 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.6823, allocations: 412.7 kB / 0.5666 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6823, allocations: 3.938 kB / 0.5666 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.775e-05/0.6824, allocations: 15.92 kB / 0.5666 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.6824, allocations: 0 / 0.5666 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.6824, allocations: 7.938 kB / 0.5666 GB, free: 8.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.6824, allocations: 3.953 kB / 0.5666 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.6825, allocations: 0 / 0.5666 GB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.6828, allocations: 223 kB / 0.5668 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.6829, allocations: 96.19 kB / 0.5669 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.6829, allocations: 3.953 kB / 0.5669 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.6831, allocations: 7.688 kB / 0.5669 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.6831, allocations: 7.984 kB / 0.5669 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.6831, allocations: 4 kB / 0.5669 GB, free: 8.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002047/0.6834, allocations: 151.4 kB / 0.5671 GB, free: 7.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6834, allocations: 4 kB / 0.5671 GB, free: 7.914 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003647/0.6837, allocations: 35.75 kB / 0.5671 GB, free: 7.883 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.00129/0.685, allocations: 418 kB / 0.5675 GB, free: 7.527 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.6853, allocations: 65.72 kB / 0.5676 GB, free: 7.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6853, allocations: 4 kB / 0.5676 GB, free: 7.477 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.315e-05/0.6854, allocations: 31.16 kB / 0.5676 GB, free: 7.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.6858, allocations: 33.92 kB / 0.5676 GB, free: 7.426 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.6864, allocations: 198.2 kB / 0.5678 GB, free: 7.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.6868, allocations: 0.7123 MB / 0.5685 GB, free: 6.484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.6869, allocations: 15.44 kB / 0.5685 GB, free: 6.469 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6869, allocations: 0 / 0.5685 GB, free: 6.469 MB / 378.7 MB Notification: Performance of Templates: time 0.006012/0.6929, allocations: 1.972 MB / 0.5705 GB, free: 4.512 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches