Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.34/1.34, allocations: 221.3 MB / 236 MB, free: 2.898 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008079/0.0008079, allocations: 99.47 kB / 287 MB, free: 196 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1795/0.1795, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.519e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3431/0.4433, allocations: 89.11 MB / 0.5887 GB, free: 212 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.4436, allocations: 71.91 kB / 0.5888 GB, free: 140 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01097/0.4545, allocations: 4.542 MB / 0.5932 GB, free: 11.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4546, allocations: 3.938 kB / 0.5932 GB, free: 11.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.4546, allocations: 4 kB / 0.5932 GB, free: 11.59 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003549/0.455, allocations: 378.3 kB / 0.5936 GB, free: 11.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.455, allocations: 12.02 kB / 0.5936 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.4551, allocations: 4 kB / 0.5936 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.4553, allocations: 202.8 kB / 0.5938 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.4553, allocations: 3.953 kB / 0.5938 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.4553, allocations: 11.81 kB / 0.5938 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.4555, allocations: 63.41 kB / 0.5939 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.4555, allocations: 4 kB / 0.5939 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.4555, allocations: 8 kB / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4555, allocations: 0 / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.762e-05/0.4556, allocations: 19.98 kB / 0.5939 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.456, allocations: 316.7 kB / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.194e-05/0.4561, allocations: 34.58 kB / 0.5942 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.4561, allocations: 16.95 kB / 0.5943 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.4561, allocations: 3.984 kB / 0.5943 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.4562, allocations: 34.56 kB / 0.5943 GB, free: 10.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.4562, allocations: 0 / 0.5943 GB, free: 10.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004503/0.4566, allocations: 161.4 kB / 0.5945 GB, free: 10.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.4567, allocations: 77.11 kB / 0.5945 GB, free: 10.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.4568, allocations: 135.4 kB / 0.5947 GB, free: 9.938 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.4568, allocations: 29.7 kB / 0.5947 GB, free: 9.902 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.4569, allocations: 92.08 kB / 0.5948 GB, free: 9.809 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.4569, allocations: 27.61 kB / 0.5948 GB, free: 9.781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.4569, allocations: 4 kB / 0.5948 GB, free: 9.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.457, allocations: 322.8 kB / 0.5951 GB, free: 9.453 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-05/0.4571, allocations: 23.98 kB / 0.5951 GB, free: 9.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-05/0.4571, allocations: 33.66 kB / 0.5952 GB, free: 9.391 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.4572, allocations: 23.98 kB / 0.5952 GB, free: 9.367 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.4572, allocations: 4 kB / 0.5952 GB, free: 9.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001221/0.4573, allocations: 85.81 kB / 0.5953 GB, free: 9.273 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.4573, allocations: 4 kB / 0.5953 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.4573, allocations: 4.031 kB / 0.5953 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.4573, allocations: 4 kB / 0.5953 GB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.4575, allocations: 19.98 kB / 0.5953 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4575, allocations: 4.062 kB / 0.5953 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.057e-05/0.4576, allocations: 15.98 kB / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4576, allocations: 0 / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.963e-05/0.4576, allocations: 124.8 kB / 0.5954 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.4577, allocations: 7.906 kB / 0.5954 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.4579, allocations: 102.3 kB / 0.5955 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4579, allocations: 7.875 kB / 0.5956 GB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.4579, allocations: 0 / 0.5956 GB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.4579, allocations: 0 / 0.5956 GB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.4582, allocations: 382.4 kB / 0.5959 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4583, allocations: 0 / 0.5959 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.919e-05/0.4584, allocations: 27.98 kB / 0.5959 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4584, allocations: 0 / 0.5959 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.4584, allocations: 0 / 0.5959 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4584, allocations: 0 / 0.5959 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4584, allocations: 0 / 0.5959 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.4585, allocations: 191.3 kB / 0.5961 GB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.4586, allocations: 89 kB / 0.5962 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.4586, allocations: 8 kB / 0.5962 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.746e-05/0.4587, allocations: 15.98 kB / 0.5962 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.4588, allocations: 0 / 0.5962 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.4588, allocations: 4 kB / 0.5962 GB, free: 8.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.586e-05/0.4589, allocations: 112.7 kB / 0.5963 GB, free: 8.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4589, allocations: 0 / 0.5963 GB, free: 8.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002406/0.4591, allocations: 39.94 kB / 0.5964 GB, free: 8.031 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0008762/0.46, allocations: 413.5 kB / 0.5968 GB, free: 7.738 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.4601, allocations: 59.91 kB / 0.5968 GB, free: 7.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4602, allocations: 0 / 0.5968 GB, free: 7.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/0.4602, allocations: 28 kB / 0.5969 GB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.4604, allocations: 19.98 kB / 0.5969 GB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.4608, allocations: 133.6 kB / 0.597 GB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.461, allocations: 0.7004 MB / 0.5977 GB, free: 6.754 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.489e-05/0.4611, allocations: 28.64 kB / 0.5977 GB, free: 6.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.4612, allocations: 11.44 kB / 0.5977 GB, free: 6.711 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4612, allocations: 0 / 0.5977 GB, free: 6.711 MB / 410.7 MB Notification: Performance of Templates: time 0.003612/0.4648, allocations: 1.472 MB / 0.5992 GB, free: 5.242 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches