Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 182.9 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.288/1.288, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009965/0.0009966, allocations: 82.62 kB / 267 MB, free: 9.27 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.336/0.336, allocations: 43.46 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.387e-05, allocations: 12 kB / 425.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3631/0.4816, allocations: 87.84 MB / 0.5586 GB, free: 1.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.4819, allocations: 81.22 kB / 0.5587 GB, free: 1.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01458/0.4965, allocations: 5.763 MB / 0.5643 GB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4965, allocations: 0 / 0.5643 GB, free: 11.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.4966, allocations: 4 kB / 0.5643 GB, free: 11.37 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.0004181/0.497, allocations: 395.9 kB / 0.5647 GB, free: 10.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.497, allocations: 11.97 kB / 0.5647 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.4971, allocations: 11.34 kB / 0.5647 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.4974, allocations: 210.9 kB / 0.5649 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.4974, allocations: 0 / 0.5649 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.4975, allocations: 4 kB / 0.5649 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.4976, allocations: 72.77 kB / 0.565 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4976, allocations: 0 / 0.565 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.4976, allocations: 0 / 0.565 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4977, allocations: 4 kB / 0.565 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.715e-05/0.4977, allocations: 19.94 kB / 0.565 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.4981, allocations: 284.9 kB / 0.5653 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.4983, allocations: 58.69 kB / 0.5653 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.4983, allocations: 20.98 kB / 0.5654 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.4983, allocations: 3.938 kB / 0.5654 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.4985, allocations: 71.33 kB / 0.5654 GB, free: 10.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.4985, allocations: 0 / 0.5654 GB, free: 10.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004371/0.4989, allocations: 157.2 kB / 0.5656 GB, free: 9.902 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.499, allocations: 77.11 kB / 0.5656 GB, free: 9.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.4991, allocations: 146.1 kB / 0.5658 GB, free: 9.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.4991, allocations: 29.7 kB / 0.5658 GB, free: 9.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.4992, allocations: 92.14 kB / 0.5659 GB, free: 9.531 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.4992, allocations: 27.64 kB / 0.5659 GB, free: 9.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.4992, allocations: 0 / 0.5659 GB, free: 9.504 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4994, allocations: 322.8 kB / 0.5662 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.4994, allocations: 24 kB / 0.5663 GB, free: 9.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.942e-05/0.4995, allocations: 40.17 kB / 0.5663 GB, free: 9.109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.607e-05/0.4995, allocations: 23.98 kB / 0.5663 GB, free: 9.086 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4995, allocations: 0 / 0.5663 GB, free: 9.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001485/0.4997, allocations: 93.53 kB / 0.5664 GB, free: 8.988 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4997, allocations: 7.953 kB / 0.5664 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4997, allocations: 0 / 0.5664 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.4997, allocations: 8.062 kB / 0.5664 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.4998, allocations: 19.92 kB / 0.5664 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4998, allocations: 0 / 0.5664 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.4999, allocations: 4 kB / 0.5664 GB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.4999, allocations: 8.156 kB / 0.5665 GB, free: 8.941 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 7.466e-05/0.5, allocations: 110.8 kB / 0.5666 GB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.5, allocations: 9.969 kB / 0.5666 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.5002, allocations: 118.2 kB / 0.5667 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5003, allocations: 11.98 kB / 0.5667 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5003, allocations: 0 / 0.5667 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5003, allocations: 0 / 0.5667 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.5007, allocations: 399.2 kB / 0.5671 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5007, allocations: 3.953 kB / 0.5671 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.5007, allocations: 8 kB / 0.5671 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5008, allocations: 4 kB / 0.5671 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.5008, allocations: 0 / 0.5671 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.5008, allocations: 0 / 0.5671 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5008, allocations: 8.031 kB / 0.5671 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.501, allocations: 218.1 kB / 0.5673 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.5011, allocations: 89.09 kB / 0.5674 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.5011, allocations: 11.94 kB / 0.5674 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.5012, allocations: 192 / 0.5674 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.5012, allocations: 19.91 kB / 0.5674 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.5013, allocations: 11.98 kB / 0.5674 GB, free: 7.832 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.779e-05/0.5014, allocations: 120.6 kB / 0.5675 GB, free: 7.715 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5014, allocations: 0 / 0.5675 GB, free: 7.715 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.5016, allocations: 43.92 kB / 0.5676 GB, free: 7.672 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.001018/0.5026, allocations: 445.1 kB / 0.568 GB, free: 7.309 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.5028, allocations: 59.92 kB / 0.5681 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5028, allocations: 0 / 0.5681 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.5029, allocations: 32.09 kB / 0.5681 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.5031, allocations: 36.14 kB / 0.5681 GB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.5034, allocations: 131.7 kB / 0.5683 GB, free: 7.035 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5038, allocations: 0.7043 MB / 0.569 GB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.121e-05/0.5038, allocations: 22.03 kB / 0.569 GB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.5039, allocations: 19.44 kB / 0.569 GB, free: 6.266 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5039, allocations: 0 / 0.569 GB, free: 6.266 MB / 394.7 MB Notification: Performance of Templates: time 0.004385/0.5083, allocations: 1.913 MB / 0.5709 GB, free: 4.367 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches