Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009511/0.0009514, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.326/1.326, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0007578/0.0007579, allocations: 97.48 kB / 267.1 MB, free: 9.281 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.3718/0.3718, allocations: 43.47 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.259e-05, allocations: 4 kB / 425.3 MB, free: 8.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 58.85 MB / 484.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4656, allocations: 87.85 MB / 0.5586 GB, free: 1.199 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.4658, allocations: 75.25 kB / 0.5587 GB, free: 1.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01475/0.4806, allocations: 5.779 MB / 0.5643 GB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4806, allocations: 0 / 0.5643 GB, free: 11.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.4806, allocations: 3.5 kB / 0.5643 GB, free: 11.39 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.0004213/0.4811, allocations: 380.7 kB / 0.5647 GB, free: 10.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4811, allocations: 16.02 kB / 0.5647 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.4812, allocations: 11.34 kB / 0.5647 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.4814, allocations: 208 kB / 0.5649 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4815, allocations: 0 / 0.5649 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.4815, allocations: 11.98 kB / 0.5649 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.4816, allocations: 64.78 kB / 0.565 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4817, allocations: 4 kB / 0.565 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.4817, allocations: 3.984 kB / 0.565 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.4817, allocations: 0 / 0.565 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.021e-05/0.4818, allocations: 19.94 kB / 0.565 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.4821, allocations: 281.7 kB / 0.5653 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.4823, allocations: 58.69 kB / 0.5653 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.4823, allocations: 20.97 kB / 0.5653 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.4823, allocations: 3.938 kB / 0.5654 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.4825, allocations: 71.34 kB / 0.5654 GB, free: 10.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.4825, allocations: 0 / 0.5654 GB, free: 10.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004286/0.4829, allocations: 157.2 kB / 0.5656 GB, free: 9.941 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.483, allocations: 77.11 kB / 0.5656 GB, free: 9.848 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.4831, allocations: 144.3 kB / 0.5658 GB, free: 9.703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.4832, allocations: 29.7 kB / 0.5658 GB, free: 9.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.4832, allocations: 96.12 kB / 0.5659 GB, free: 9.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.4833, allocations: 31.62 kB / 0.5659 GB, free: 9.539 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.4833, allocations: 0 / 0.5659 GB, free: 9.539 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.4834, allocations: 319.7 kB / 0.5662 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.4834, allocations: 27.98 kB / 0.5663 GB, free: 9.191 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.4835, allocations: 38.58 kB / 0.5663 GB, free: 9.145 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.892e-05/0.4836, allocations: 24.92 kB / 0.5663 GB, free: 9.121 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4836, allocations: 0 / 0.5663 GB, free: 9.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001368/0.4837, allocations: 94.16 kB / 0.5664 GB, free: 9.023 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4837, allocations: 11.95 kB / 0.5664 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4837, allocations: 0 / 0.5664 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.507e-06/0.4838, allocations: 4.062 kB / 0.5664 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.55e-05/0.4838, allocations: 15.98 kB / 0.5664 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4839, allocations: 7.938 kB / 0.5665 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.4839, allocations: 0 / 0.5665 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4839, allocations: 8.156 kB / 0.5665 GB, free: 8.977 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 () * 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 6.732e-05/0.484, allocations: 106.3 kB / 0.5666 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.484, allocations: 11.89 kB / 0.5666 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.4842, allocations: 122.1 kB / 0.5667 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4843, allocations: 8 kB / 0.5667 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4843, allocations: 0 / 0.5667 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.4843, allocations: 3.984 kB / 0.5667 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.4847, allocations: 395.2 kB / 0.5671 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4847, allocations: 7.938 kB / 0.5671 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.4847, allocations: 15.98 kB / 0.5671 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4847, allocations: 0 / 0.5671 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.4847, allocations: 0 / 0.5671 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4848, allocations: 4 kB / 0.5671 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4848, allocations: 4.031 kB / 0.5671 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.485, allocations: 221.8 kB / 0.5673 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.485, allocations: 85 kB / 0.5674 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.485, allocations: 8 kB / 0.5674 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.4851, allocations: 4 kB / 0.5674 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.4852, allocations: 11.98 kB / 0.5674 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.4852, allocations: 4 kB / 0.5674 GB, free: 7.875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.431e-05/0.4853, allocations: 118.5 kB / 0.5675 GB, free: 7.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4853, allocations: 3.938 kB / 0.5675 GB, free: 7.758 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002591/0.4855, allocations: 43.92 kB / 0.5676 GB, free: 7.715 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) * 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.0009916/0.4865, allocations: 460 kB / 0.568 GB, free: 7.336 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.4867, allocations: 55.92 kB / 0.5681 GB, free: 7.281 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4867, allocations: 0 / 0.5681 GB, free: 7.281 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.4868, allocations: 32.16 kB / 0.5681 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.487, allocations: 32.14 kB / 0.5681 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.4873, allocations: 131.7 kB / 0.5683 GB, free: 7.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.4876, allocations: 0.7043 MB / 0.569 GB, free: 6.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.4876, allocations: 18.03 kB / 0.569 GB, free: 6.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.4877, allocations: 19.44 kB / 0.569 GB, free: 6.305 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4877, allocations: 0 / 0.569 GB, free: 6.305 MB / 394.7 MB Notification: Performance of Templates: time 0.00408/0.4918, allocations: 1.913 MB / 0.5709 GB, free: 4.402 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches