Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009989/0.0009989, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007802/0.0007802, allocations: 106.9 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3614/0.3614, allocations: 44.22 MB / 387.5 MB, free: 39.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 12 kB / 459.9 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3665, allocations: 61.9 MB / 0.5096 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.4855, allocations: 89.35 MB / 0.5968 GB, free: 5.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.4858, allocations: 83.92 kB / 0.5969 GB, free: 5.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01629/0.5021, allocations: 6.014 MB / 0.6028 GB, free: 15.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5021, allocations: 0 / 0.6028 GB, free: 15.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.5022, allocations: 4 kB / 0.6028 GB, free: 15.72 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005478/0.5027, allocations: 442.6 kB / 0.6032 GB, free: 15.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5028, allocations: 8.562 kB / 0.6032 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.5028, allocations: 11.91 kB / 0.6032 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.5031, allocations: 225.1 kB / 0.6034 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.5032, allocations: 7.953 kB / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.5032, allocations: 0 / 0.6034 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.5033, allocations: 65.66 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5034, allocations: 0 / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5034, allocations: 3.938 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5034, allocations: 4 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.5035, allocations: 23.92 kB / 0.6035 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.5039, allocations: 324.7 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.5041, allocations: 58.55 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.5042, allocations: 4 kB / 0.6039 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.5043, allocations: 71.52 kB / 0.604 GB, free: 14.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.5043, allocations: 4 kB / 0.604 GB, free: 14.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007327/0.5051, allocations: 241.3 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.5052, allocations: 59.41 kB / 0.6043 GB, free: 14.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.5054, allocations: 197.8 kB / 0.6045 GB, free: 13.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.5054, allocations: 29.7 kB / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.5055, allocations: 104.1 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.5055, allocations: 39.53 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.5055, allocations: 4 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5057, allocations: 338.8 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.75e-05/0.5057, allocations: 23.98 kB / 0.605 GB, free: 13.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.299e-05/0.5058, allocations: 47.58 kB / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.215e-05/0.5059, allocations: 36.05 kB / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.5059, allocations: 0 / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002258/0.5061, allocations: 137.4 kB / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.5062, allocations: 4 kB / 0.6052 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5062, allocations: 4.031 kB / 0.6052 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5062, allocations: 0 / 0.6052 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.421e-05/0.5063, allocations: 27.92 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5063, allocations: 0 / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.5063, allocations: 7.984 kB / 0.6052 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.5064, allocations: 7.984 kB / 0.6052 GB, free: 12.98 MB / 426.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 (13): * Single equations (assignments): 13 * 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.0001079/0.5065, allocations: 133.7 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.5065, allocations: 15.8 kB / 0.6054 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.5068, allocations: 159.7 kB / 0.6055 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5068, allocations: 0 / 0.6055 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5068, allocations: 3.984 kB / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.5068, allocations: 0 / 0.6055 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.5074, allocations: 479.9 kB / 0.606 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5075, allocations: 64 / 0.606 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.5075, allocations: 24.09 kB / 0.606 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5075, allocations: 7.922 kB / 0.606 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5075, allocations: 0 / 0.606 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5076, allocations: 4 kB / 0.606 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5076, allocations: 3.953 kB / 0.606 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.5078, allocations: 264.4 kB / 0.6063 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.5079, allocations: 89.02 kB / 0.6064 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.508, allocations: 11.95 kB / 0.6064 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.508, allocations: 7.984 kB / 0.6064 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.5081, allocations: 7.984 kB / 0.6064 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.5081, allocations: 4 kB / 0.6064 GB, free: 11.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.5082, allocations: 172.3 kB / 0.6066 GB, free: 11.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5082, allocations: 4 kB / 0.6066 GB, free: 11.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002707/0.5085, allocations: 43.88 kB / 0.6066 GB, free: 11.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001099/0.5096, allocations: 0.5212 MB / 0.6071 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.5098, allocations: 91.77 kB / 0.6072 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5098, allocations: 0 / 0.6072 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.68e-05/0.5099, allocations: 43.92 kB / 0.6072 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.5102, allocations: 24.36 kB / 0.6073 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.5107, allocations: 319.6 kB / 0.6076 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.511, allocations: 0.7199 MB / 0.6083 GB, free: 9.879 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.686e-05/0.5111, allocations: 24.62 kB / 0.6083 GB, free: 9.855 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.5112, allocations: 15.44 kB / 0.6083 GB, free: 9.84 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5112, allocations: 4 kB / 0.6083 GB, free: 9.836 MB / 426.7 MB Notification: Performance of Templates: time 0.004479/0.5157, allocations: 1.979 MB / 0.6102 GB, free: 7.875 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches