Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 183.2 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.57/1.57, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0008689/0.0008688, allocations: 86.88 kB / 270.2 MB, free: 13.36 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.1946/0.1946, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004003, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1364, allocations: 58.84 MB / 490.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4303/0.5667, allocations: 87.68 MB / 0.5644 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.5671, allocations: 82.89 kB / 0.5645 GB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0146/0.5817, allocations: 5.285 MB / 0.5696 GB, free: 7.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5817, allocations: 0 / 0.5696 GB, free: 7.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.5817, allocations: 4 kB / 0.5696 GB, free: 7.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005625/0.5823, allocations: 419.8 kB / 0.57 GB, free: 7.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5824, allocations: 12.03 kB / 0.57 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.5824, allocations: 11.89 kB / 0.57 GB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.5827, allocations: 213.5 kB / 0.5703 GB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.5828, allocations: 3.438 kB / 0.5703 GB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.5828, allocations: 4 kB / 0.5703 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.583, allocations: 56.61 kB / 0.5703 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.583, allocations: 0 / 0.5703 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.583, allocations: 0 / 0.5703 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.583, allocations: 0 / 0.5703 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.5831, allocations: 26.73 kB / 0.5703 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.5836, allocations: 295.6 kB / 0.5706 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.5837, allocations: 61.67 kB / 0.5707 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.5838, allocations: 7.938 kB / 0.5707 GB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.5839, allocations: 69.58 kB / 0.5708 GB, free: 6.359 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.5839, allocations: 0 / 0.5708 GB, free: 6.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005578/0.5845, allocations: 179.3 kB / 0.5709 GB, free: 6.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.5845, allocations: 55.36 kB / 0.571 GB, free: 6.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.5847, allocations: 173.3 kB / 0.5711 GB, free: 5.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.5847, allocations: 25.7 kB / 0.5712 GB, free: 5.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.5848, allocations: 101.9 kB / 0.5713 GB, free: 5.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.5848, allocations: 35.14 kB / 0.5713 GB, free: 5.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.5849, allocations: 0 / 0.5713 GB, free: 5.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.585, allocations: 322.7 kB / 0.5716 GB, free: 5.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.453e-05/0.585, allocations: 18.56 kB / 0.5716 GB, free: 5.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.5851, allocations: 40.19 kB / 0.5717 GB, free: 5.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.5852, allocations: 19.12 kB / 0.5717 GB, free: 5.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5852, allocations: 4 kB / 0.5717 GB, free: 5.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001795/0.5853, allocations: 114.1 kB / 0.5718 GB, free: 5.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5854, allocations: 6.969 kB / 0.5718 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5854, allocations: 4 kB / 0.5718 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.5854, allocations: 0 / 0.5718 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.5855, allocations: 12 kB / 0.5718 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.5855, allocations: 0 / 0.5718 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/0.5856, allocations: 11.94 kB / 0.5718 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.5856, allocations: 7.562 kB / 0.5718 GB, free: 5.324 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 () * 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 9.572e-05/0.5857, allocations: 129.5 kB / 0.572 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.5857, allocations: 7.906 kB / 0.572 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.586, allocations: 131.2 kB / 0.5721 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.586, allocations: 4 kB / 0.5721 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.586, allocations: 0 / 0.5721 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.586, allocations: 0 / 0.5721 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.5865, allocations: 413.7 kB / 0.5725 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5865, allocations: 4.031 kB / 0.5725 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.5866, allocations: 8.875 kB / 0.5725 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5866, allocations: 0 / 0.5725 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.5866, allocations: 13.11 kB / 0.5725 GB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5866, allocations: 3.953 kB / 0.5725 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5866, allocations: 0 / 0.5725 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.5869, allocations: 223.3 kB / 0.5727 GB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.587, allocations: 104.6 kB / 0.5728 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.587, allocations: 3.953 kB / 0.5728 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.5871, allocations: 7.75 kB / 0.5728 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.5871, allocations: 7.984 kB / 0.5728 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.5871, allocations: 4 kB / 0.5729 GB, free: 4.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.5873, allocations: 141.7 kB / 0.573 GB, free: 4.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5873, allocations: 0 / 0.573 GB, free: 4.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.5876, allocations: 32.06 kB / 0.573 GB, free: 4.105 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) * 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.001076/0.5887, allocations: 474.1 kB / 0.5735 GB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.5889, allocations: 62.72 kB / 0.5735 GB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5889, allocations: 4.062 kB / 0.5735 GB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.589, allocations: 37.48 kB / 0.5736 GB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.5893, allocations: 23.42 kB / 0.5736 GB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.5898, allocations: 240.7 kB / 0.5738 GB, free: 3.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.5903, allocations: 0.7115 MB / 0.5745 GB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.31e-05/0.5903, allocations: 20.84 kB / 0.5745 GB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.5904, allocations: 19.38 kB / 0.5746 GB, free: 2.57 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5904, allocations: 0 / 0.5746 GB, free: 2.57 MB / 378.7 MB Notification: Performance of Templates: time 0.004664/0.5951, allocations: 1.668 MB / 0.5762 GB, free: 0.918 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches