Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009855/0.0009855, allocations: 183 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.358/1.358, 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.0009974/0.0009977, allocations: 89.31 kB / 267 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.4429/0.4429, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.396e-05, allocations: 7.984 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/0.5588, allocations: 87.13 MB / 0.5579 GB, free: 16.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/0.559, allocations: 78.89 kB / 0.558 GB, free: 16.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009991/0.569, allocations: 4.318 MB / 0.5622 GB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.5691, allocations: 0 / 0.5622 GB, free: 14.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.5691, allocations: 8 kB / 0.5622 GB, free: 14.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003841/0.5695, allocations: 393.5 kB / 0.5626 GB, free: 13.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.5695, allocations: 13.2 kB / 0.5626 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.5696, allocations: 7.906 kB / 0.5626 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.5698, allocations: 203.1 kB / 0.5628 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.5699, allocations: 0 / 0.5628 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.5699, allocations: 4 kB / 0.5628 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.57, allocations: 49.33 kB / 0.5628 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.57, allocations: 5.375 kB / 0.5628 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.5701, allocations: 3.562 kB / 0.5628 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5701, allocations: 0 / 0.5628 GB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.724e-05/0.5701, allocations: 25.02 kB / 0.5629 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.5705, allocations: 318 kB / 0.5632 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.159e-05/0.5706, allocations: 46.8 kB / 0.5632 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.5707, allocations: 12.67 kB / 0.5632 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.5707, allocations: 5.453 kB / 0.5632 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.5707, allocations: 34.5 kB / 0.5633 GB, free: 13.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.5707, allocations: 0 / 0.5633 GB, free: 13.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004524/0.5712, allocations: 170.8 kB / 0.5634 GB, free: 13.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.5712, allocations: 52.91 kB / 0.5635 GB, free: 13.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.5714, allocations: 180.7 kB / 0.5636 GB, free: 12.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.5714, allocations: 25.7 kB / 0.5637 GB, free: 12.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.5714, allocations: 101.1 kB / 0.5638 GB, free: 12.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.5715, allocations: 21.03 kB / 0.5638 GB, free: 12.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.5715, allocations: 2.25 kB / 0.5638 GB, free: 12.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.3e-05/0.5716, allocations: 328.8 kB / 0.5641 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.484e-05/0.5716, allocations: 19.14 kB / 0.5641 GB, free: 12.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.5716, allocations: 20.3 kB / 0.5641 GB, free: 12.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.416e-05/0.5717, allocations: 23.28 kB / 0.5642 GB, free: 12.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5717, allocations: 0 / 0.5642 GB, free: 12.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001228/0.5718, allocations: 90.17 kB / 0.5643 GB, free: 12.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.5718, allocations: 8 kB / 0.5643 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.5718, allocations: 0 / 0.5643 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.5719, allocations: 3.953 kB / 0.5643 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.572, allocations: 32.86 kB / 0.5643 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.572, allocations: 0 / 0.5643 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.5721, allocations: 14.94 kB / 0.5643 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.5721, allocations: 4 kB / 0.5643 GB, free: 12.26 MB / 394.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 4.843e-05/0.5721, allocations: 104 kB / 0.5644 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.5722, allocations: 9.312 kB / 0.5644 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.5724, allocations: 115.8 kB / 0.5645 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.5724, allocations: 3.953 kB / 0.5645 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5724, allocations: 0 / 0.5645 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.5724, allocations: 1.547 kB / 0.5645 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.5727, allocations: 391 kB / 0.5649 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5728, allocations: 0 / 0.5649 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.744e-05/0.5728, allocations: 24.69 kB / 0.5649 GB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5729, allocations: 7.953 kB / 0.5649 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.5729, allocations: 4.531 kB / 0.5649 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5729, allocations: 0.9844 kB / 0.5649 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5729, allocations: 0 / 0.5649 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.573, allocations: 185.9 kB / 0.5651 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.5731, allocations: 95.25 kB / 0.5652 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.5731, allocations: 7.703 kB / 0.5652 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.5732, allocations: 19.23 kB / 0.5652 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.5733, allocations: 3.094 kB / 0.5652 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.5733, allocations: 4 kB / 0.5652 GB, free: 11.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.5734, allocations: 137 kB / 0.5654 GB, free: 11.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5734, allocations: 0 / 0.5654 GB, free: 11.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.5736, allocations: 28.39 kB / 0.5654 GB, free: 11.23 MB / 394.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.0008106/0.5745, allocations: 369.4 kB / 0.5658 GB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.5746, allocations: 63.11 kB / 0.5658 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5746, allocations: 0 / 0.5658 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.5746, allocations: 29.05 kB / 0.5658 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.5748, allocations: 16.95 kB / 0.5659 GB, free: 10.87 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.5752, allocations: 176.8 kB / 0.566 GB, free: 10.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.5754, allocations: 0.7152 MB / 0.5667 GB, free: 9.996 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.772e-05/0.5755, allocations: 27.16 kB / 0.5668 GB, free: 9.973 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.5755, allocations: 12.89 kB / 0.5668 GB, free: 9.961 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.5755, allocations: 4 kB / 0.5668 GB, free: 9.957 MB / 394.7 MB Notification: Performance of Templates: time 0.003235/0.5788, allocations: 1.285 MB / 0.568 GB, free: 8.871 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches