Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001046, allocations: 183.3 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.554/1.554, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008432/0.0008427, allocations: 94.83 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.2989/0.2989, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005796/0.0005796, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1663, allocations: 58.86 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4173/0.5837, allocations: 87.75 MB / 0.5645 GB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.5839, allocations: 73.34 kB / 0.5645 GB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01631/0.6002, allocations: 5.964 MB / 0.5704 GB, free: 6.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.399e-06/0.6003, allocations: 3.984 kB / 0.5704 GB, free: 6.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.6003, allocations: 0 / 0.5704 GB, free: 6.898 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005896/0.6009, allocations: 443.1 kB / 0.5708 GB, free: 6.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.601, allocations: 12.56 kB / 0.5708 GB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.601, allocations: 11.81 kB / 0.5708 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.6014, allocations: 240.3 kB / 0.571 GB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.6014, allocations: 6.875 kB / 0.571 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.6014, allocations: 4 kB / 0.571 GB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.6016, allocations: 69.72 kB / 0.5711 GB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.6016, allocations: 0 / 0.5711 GB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.6016, allocations: 0 / 0.5711 GB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.6017, allocations: 4 kB / 0.5711 GB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.6018, allocations: 41.59 kB / 0.5712 GB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.6023, allocations: 332.5 kB / 0.5715 GB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.6025, allocations: 81.14 kB / 0.5715 GB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.6025, allocations: 0 / 0.5715 GB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.6027, allocations: 81.73 kB / 0.5716 GB, free: 5.531 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.6027, allocations: 0 / 0.5716 GB, free: 5.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006485/0.6033, allocations: 246.1 kB / 0.5719 GB, free: 5.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.6034, allocations: 55.34 kB / 0.5719 GB, free: 5.266 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.6036, allocations: 225.8 kB / 0.5721 GB, free: 5.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.6037, allocations: 29.7 kB / 0.5722 GB, free: 5.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.6037, allocations: 108.7 kB / 0.5723 GB, free: 4.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.6038, allocations: 39.23 kB / 0.5723 GB, free: 4.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.6038, allocations: 3.688 kB / 0.5723 GB, free: 4.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6039, allocations: 325.3 kB / 0.5726 GB, free: 4.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-05/0.604, allocations: 37.91 kB / 0.5726 GB, free: 4.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.589e-05/0.6041, allocations: 54.95 kB / 0.5727 GB, free: 4.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.822e-05/0.6042, allocations: 36.08 kB / 0.5727 GB, free: 4.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.6042, allocations: 0 / 0.5727 GB, free: 4.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002402/0.6045, allocations: 134 kB / 0.5729 GB, free: 4.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.6045, allocations: 10.59 kB / 0.5729 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.6045, allocations: 0 / 0.5729 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.6045, allocations: 4 kB / 0.5729 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.6046, allocations: 28.64 kB / 0.5729 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.6047, allocations: 3.953 kB / 0.5729 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.6047, allocations: 5.625 kB / 0.5729 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.6047, allocations: 5.062 kB / 0.5729 GB, free: 4.332 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 (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.0001659/0.6049, allocations: 134.1 kB / 0.573 GB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.605, allocations: 16.44 kB / 0.5731 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.6053, allocations: 171.6 kB / 0.5732 GB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.6053, allocations: 4 kB / 0.5732 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6054, allocations: 0 / 0.5732 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.6054, allocations: 3.953 kB / 0.5732 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006084/0.606, allocations: 484.6 kB / 0.5737 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.606, allocations: 0 / 0.5737 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.6061, allocations: 19.98 kB / 0.5737 GB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6061, allocations: 3.938 kB / 0.5737 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.6061, allocations: 15.8 kB / 0.5737 GB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6061, allocations: 0 / 0.5737 GB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6061, allocations: 3.938 kB / 0.5737 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.6064, allocations: 252.7 kB / 0.574 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.6065, allocations: 108.6 kB / 0.5741 GB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.6066, allocations: 4 kB / 0.5741 GB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.6066, allocations: 15.92 kB / 0.5741 GB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.6067, allocations: 4 kB / 0.5741 GB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.6067, allocations: 11.98 kB / 0.5741 GB, free: 3.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001646/0.6069, allocations: 186.8 kB / 0.5743 GB, free: 2.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6069, allocations: 0 / 0.5743 GB, free: 2.984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.6072, allocations: 39.8 kB / 0.5743 GB, free: 2.949 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 (13): * Single equations (assignments): 11 * 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.001067/0.6082, allocations: 488 kB / 0.5748 GB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.6085, allocations: 86.97 kB / 0.5749 GB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6085, allocations: 4 kB / 0.5749 GB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.829e-05/0.6086, allocations: 43.78 kB / 0.5749 GB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.6089, allocations: 31.97 kB / 0.575 GB, free: 2.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.6095, allocations: 342.4 kB / 0.5753 GB, free: 2.059 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.6098, allocations: 0.7237 MB / 0.576 GB, free: 1.312 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.39e-05/0.6099, allocations: 20.64 kB / 0.576 GB, free: 1.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.61, allocations: 23.42 kB / 0.576 GB, free: 1.27 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.61, allocations: 0 / 0.576 GB, free: 1.27 MB / 378.7 MB Notification: Performance of Templates: time 0.004757/0.6147, allocations: 1.996 MB / 0.578 GB, free: 15.29 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches