Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 184 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.371/1.371, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0007837/0.0007837, allocations: 82.61 kB / 267 MB, free: 9.277 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.4214/0.4214, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/2.996e-05, allocations: 0 / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5556, allocations: 87.13 MB / 0.5579 GB, free: 16.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.5559, allocations: 71.53 kB / 0.558 GB, free: 16.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01042/0.5663, allocations: 4.455 MB / 0.5623 GB, free: 14.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5664, allocations: 4 kB / 0.5623 GB, free: 14.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.5664, allocations: 4 kB / 0.5623 GB, free: 14.14 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.0003567/0.5668, allocations: 396.7 kB / 0.5627 GB, free: 13.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5668, allocations: 12.03 kB / 0.5627 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.5669, allocations: 7.906 kB / 0.5627 GB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.5671, allocations: 217.2 kB / 0.5629 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.5671, allocations: 0 / 0.5629 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.5671, allocations: 8 kB / 0.5629 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.5672, allocations: 49.66 kB / 0.563 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5673, allocations: 1.375 kB / 0.563 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.5673, allocations: 4.484 kB / 0.563 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5673, allocations: 0 / 0.563 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.064e-05/0.5673, allocations: 16.97 kB / 0.563 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.5678, allocations: 338.5 kB / 0.5633 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.028e-05/0.5678, allocations: 37.7 kB / 0.5634 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.5679, allocations: 20.02 kB / 0.5634 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.5679, allocations: 0 / 0.5634 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.5679, allocations: 30.56 kB / 0.5634 GB, free: 13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.5679, allocations: 0 / 0.5634 GB, free: 13 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004598/0.5684, allocations: 170.5 kB / 0.5636 GB, free: 12.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.5684, allocations: 56.72 kB / 0.5636 GB, free: 12.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.5686, allocations: 192.1 kB / 0.5638 GB, free: 12.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.5686, allocations: 25.7 kB / 0.5638 GB, free: 12.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.5687, allocations: 104.2 kB / 0.5639 GB, free: 12.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.5687, allocations: 24.84 kB / 0.564 GB, free: 12.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.5687, allocations: 4 kB / 0.564 GB, free: 12.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.5688, allocations: 329.5 kB / 0.5643 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.454e-05/0.5688, allocations: 17.66 kB / 0.5643 GB, free: 12.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.5689, allocations: 28.98 kB / 0.5643 GB, free: 12.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.5689, allocations: 27.08 kB / 0.5643 GB, free: 12.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.5689, allocations: 0 / 0.5643 GB, free: 12.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001109/0.569, allocations: 90.92 kB / 0.5644 GB, free: 12.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.569, allocations: 4 kB / 0.5644 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.5691, allocations: 0 / 0.5644 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.5691, allocations: 7.953 kB / 0.5644 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.5692, allocations: 24.88 kB / 0.5645 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.5692, allocations: 0 / 0.5645 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.548e-05/0.5693, allocations: 19.11 kB / 0.5645 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.5693, allocations: 0 / 0.5645 GB, free: 12.02 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.419e-05/0.5693, allocations: 111.8 kB / 0.5646 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.5694, allocations: 11.91 kB / 0.5646 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.5696, allocations: 102.6 kB / 0.5647 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5696, allocations: 7.953 kB / 0.5647 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5696, allocations: 0 / 0.5647 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.5696, allocations: 0 / 0.5647 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.5699, allocations: 402.3 kB / 0.5651 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5699, allocations: 0 / 0.5651 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.673e-05/0.57, allocations: 33.23 kB / 0.5651 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.57, allocations: 3.953 kB / 0.5651 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.57, allocations: 0 / 0.5651 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5701, allocations: 4 kB / 0.5651 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5701, allocations: 1.312 kB / 0.5651 GB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.5702, allocations: 183.2 kB / 0.5653 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.5703, allocations: 99.7 kB / 0.5654 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.5703, allocations: 9.219 kB / 0.5654 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.5704, allocations: 18.27 kB / 0.5654 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.5704, allocations: 7.984 kB / 0.5654 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.5704, allocations: 0 / 0.5654 GB, free: 11.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.913e-05/0.5705, allocations: 157.8 kB / 0.5656 GB, free: 10.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5706, allocations: 0 / 0.5656 GB, free: 10.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.5708, allocations: 32.89 kB / 0.5656 GB, free: 10.96 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.0007245/0.5715, allocations: 372.8 kB / 0.566 GB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.5716, allocations: 57.69 kB / 0.566 GB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5716, allocations: 0 / 0.566 GB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.417e-05/0.5717, allocations: 29.91 kB / 0.5661 GB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.5719, allocations: 22.38 kB / 0.5661 GB, free: 10.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.5722, allocations: 189.4 kB / 0.5663 GB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.5724, allocations: 0.7198 MB / 0.567 GB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.015e-05/0.5725, allocations: 18.2 kB / 0.567 GB, free: 9.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.5725, allocations: 24.48 kB / 0.567 GB, free: 9.68 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5725, allocations: 0 / 0.567 GB, free: 9.68 MB / 394.7 MB Notification: Performance of Templates: time 0.003365/0.5759, allocations: 1.325 MB / 0.5683 GB, free: 8.609 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches