Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.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.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008992/0.0008992, allocations: 183.4 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.454/1.454, 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.0008115/0.0008114, allocations: 92.28 kB / 267 MB, free: 9.285 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.3941/0.3941, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.57e-05/3.573e-05, allocations: 7.938 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1335, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4206/0.5541, allocations: 86.4 MB / 0.5572 GB, free: 17.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.5545, allocations: 72.02 kB / 0.5573 GB, free: 17.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009464/0.5639, allocations: 4.167 MB / 0.5613 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.564, allocations: 0 / 0.5613 GB, free: 14.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.564, allocations: 0.5469 kB / 0.5613 GB, free: 14.85 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003162/0.5643, allocations: 404.3 kB / 0.5617 GB, free: 14.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.5644, allocations: 8.031 kB / 0.5617 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.5644, allocations: 19.25 kB / 0.5617 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.5646, allocations: 205.1 kB / 0.5619 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.5647, allocations: 8 kB / 0.5619 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.5647, allocations: 3.906 kB / 0.5619 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.5648, allocations: 44.5 kB / 0.562 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.5648, allocations: 0 / 0.562 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.5648, allocations: 1.375 kB / 0.562 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.5648, allocations: 4 kB / 0.562 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.455e-05/0.5649, allocations: 17.52 kB / 0.562 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.5653, allocations: 312.8 kB / 0.5623 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.5654, allocations: 38.31 kB / 0.5623 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.544e-05/0.5655, allocations: 12.61 kB / 0.5624 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.5655, allocations: 7.922 kB / 0.5624 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.5655, allocations: 36.06 kB / 0.5624 GB, free: 13.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5655, allocations: 0 / 0.5624 GB, free: 13.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003759/0.5659, allocations: 133.3 kB / 0.5625 GB, free: 13.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.5659, allocations: 59.28 kB / 0.5626 GB, free: 13.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.5661, allocations: 237.3 kB / 0.5628 GB, free: 13.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.5662, allocations: 25.7 kB / 0.5628 GB, free: 13.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.5662, allocations: 110.4 kB / 0.5629 GB, free: 13.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.5662, allocations: 17.06 kB / 0.5629 GB, free: 13.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.5662, allocations: 4 kB / 0.563 GB, free: 13.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.294e-05/0.5663, allocations: 327.5 kB / 0.5633 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.5663, allocations: 11.88 kB / 0.5633 GB, free: 12.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.5664, allocations: 13.55 kB / 0.5633 GB, free: 12.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.964e-05/0.5664, allocations: 16.8 kB / 0.5633 GB, free: 12.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5664, allocations: 0 / 0.5633 GB, free: 12.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.902e-05/0.5665, allocations: 76.52 kB / 0.5634 GB, free: 12.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.5665, allocations: 5.094 kB / 0.5634 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5665, allocations: 1.641 kB / 0.5634 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5666, allocations: 0 / 0.5634 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.709e-05/0.5666, allocations: 27.33 kB / 0.5634 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.5666, allocations: 3.953 kB / 0.5634 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.5667, allocations: 10.72 kB / 0.5634 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.5667, allocations: 0 / 0.5634 GB, free: 12.76 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 (5): * Single equations (assignments): 5 * 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.069e-05/0.5668, allocations: 101 kB / 0.5635 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.5668, allocations: 15.81 kB / 0.5635 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.5669, allocations: 86.14 kB / 0.5636 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.567, allocations: 4 kB / 0.5636 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.567, allocations: 4 kB / 0.5636 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.567, allocations: 5.453 kB / 0.5636 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.5673, allocations: 372.6 kB / 0.564 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5673, allocations: 0 / 0.564 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.5674, allocations: 14.91 kB / 0.564 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.5674, allocations: 0 / 0.564 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.5674, allocations: 4 kB / 0.564 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5674, allocations: 8.328 kB / 0.564 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5674, allocations: 0 / 0.564 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.5675, allocations: 180.9 kB / 0.5642 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.5676, allocations: 92.11 kB / 0.5643 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.5676, allocations: 5.312 kB / 0.5643 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.5677, allocations: 13.09 kB / 0.5643 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.5677, allocations: 5.734 kB / 0.5643 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.5678, allocations: 8 kB / 0.5643 GB, free: 11.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.5679, allocations: 192.6 kB / 0.5645 GB, free: 11.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5679, allocations: 0 / 0.5645 GB, free: 11.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002169/0.5681, allocations: 29.25 kB / 0.5645 GB, free: 11.73 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 (5): * Single equations (assignments): 5 * 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.0007744/0.5689, allocations: 365.4 kB / 0.5649 GB, free: 11.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.569, allocations: 34.28 kB / 0.5649 GB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.569, allocations: 0 / 0.5649 GB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.156e-05/0.5691, allocations: 24.73 kB / 0.5649 GB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.5693, allocations: 14.59 kB / 0.5649 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.5697, allocations: 219.3 kB / 0.5651 GB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.5698, allocations: 0.715 MB / 0.5658 GB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.91e-05/0.5699, allocations: 24.25 kB / 0.5659 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.5699, allocations: 11.44 kB / 0.5659 GB, free: 10.46 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5699, allocations: 0 / 0.5659 GB, free: 10.46 MB / 394.7 MB Notification: Performance of Templates: time 0.00361/0.5736, allocations: 1.281 MB / 0.5671 GB, free: 9.68 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches