Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.001096/0.001096, allocations: 99.45 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2135/0.2135, allocations: 44.15 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.237e-05/2.24e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1588, allocations: 61.92 MB / 0.4947 GB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3954/0.5543, allocations: 87.49 MB / 0.5801 GB, free: 9.051 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.5546, allocations: 75.95 kB / 0.5802 GB, free: 8.977 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.5652, allocations: 4.137 MB / 0.5842 GB, free: 4.855 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5652, allocations: 4 kB / 0.5842 GB, free: 4.852 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.5652, allocations: 2.953 kB / 0.5842 GB, free: 4.852 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.0003417/0.5656, allocations: 361 kB / 0.5846 GB, free: 4.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5656, allocations: 11.98 kB / 0.5846 GB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.5657, allocations: 7.906 kB / 0.5846 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.5659, allocations: 193.4 kB / 0.5848 GB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.5659, allocations: 4 kB / 0.5848 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.5659, allocations: 0 / 0.5848 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.736e-05/0.566, allocations: 23.95 kB / 0.5848 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.784e-05/0.5661, allocations: 51.41 kB / 0.5849 GB, free: 4.121 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.5661, allocations: 4 kB / 0.5849 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.5661, allocations: 3.938 kB / 0.5849 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.5661, allocations: 3.938 kB / 0.5849 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.5665, allocations: 245.5 kB / 0.5851 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.5666, allocations: 50.45 kB / 0.5852 GB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.5667, allocations: 12.86 kB / 0.5852 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.5667, allocations: 0 / 0.5852 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.5667, allocations: 30.56 kB / 0.5852 GB, free: 3.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.5668, allocations: 0 / 0.5852 GB, free: 3.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004011/0.5672, allocations: 101.4 kB / 0.5853 GB, free: 3.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.5672, allocations: 81.11 kB / 0.5854 GB, free: 3.516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.5674, allocations: 117 kB / 0.5855 GB, free: 3.395 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.5674, allocations: 25.7 kB / 0.5855 GB, free: 3.363 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.5674, allocations: 92.14 kB / 0.5856 GB, free: 3.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.5675, allocations: 15.73 kB / 0.5856 GB, free: 3.254 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.5675, allocations: 0 / 0.5856 GB, free: 3.254 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5676, allocations: 318.8 kB / 0.5859 GB, free: 2.934 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.5676, allocations: 8 kB / 0.5859 GB, free: 2.926 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.5677, allocations: 25.72 kB / 0.5859 GB, free: 2.895 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.5677, allocations: 11.98 kB / 0.586 GB, free: 2.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.5677, allocations: 0 / 0.586 GB, free: 2.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001015/0.5678, allocations: 65.5 kB / 0.586 GB, free: 2.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5678, allocations: 7.984 kB / 0.586 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5679, allocations: 0 / 0.586 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5679, allocations: 0 / 0.586 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.5679, allocations: 12 kB / 0.586 GB, free: 2.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.568, allocations: 4.031 kB / 0.586 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.568, allocations: 11.98 kB / 0.5861 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.568, allocations: 0 / 0.5861 GB, free: 2.777 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 7.192e-05/0.5681, allocations: 101 kB / 0.5861 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.5681, allocations: 11.86 kB / 0.5862 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.5683, allocations: 78 kB / 0.5862 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5683, allocations: 0 / 0.5862 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5683, allocations: 4 kB / 0.5862 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5683, allocations: 320 / 0.5862 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.5686, allocations: 303.1 kB / 0.5865 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5686, allocations: 0 / 0.5865 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.5687, allocations: 15.94 kB / 0.5865 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5687, allocations: 0 / 0.5865 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.5687, allocations: 0 / 0.5865 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5687, allocations: 0 / 0.5865 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5687, allocations: 0 / 0.5865 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.5689, allocations: 163.4 kB / 0.5867 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.5689, allocations: 96.89 kB / 0.5868 GB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.569, allocations: 0 / 0.5868 GB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.125e-05/0.569, allocations: 4 kB / 0.5868 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.5691, allocations: 7.984 kB / 0.5868 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.5691, allocations: 4 kB / 0.5868 GB, free: 1.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.695e-05/0.5692, allocations: 109 kB / 0.5869 GB, free: 1.805 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5692, allocations: 0 / 0.5869 GB, free: 1.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00024/0.5694, allocations: 24 kB / 0.5869 GB, free: 1.781 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.0007814/0.5702, allocations: 381.5 kB / 0.5873 GB, free: 1.477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.9e-05/0.5703, allocations: 28 kB / 0.5873 GB, free: 1.449 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5703, allocations: 0 / 0.5873 GB, free: 1.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.697e-05/0.5704, allocations: 12 kB / 0.5873 GB, free: 1.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.5706, allocations: 15.98 kB / 0.5873 GB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.5708, allocations: 99.92 kB / 0.5874 GB, free: 1.297 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.5712, allocations: 0.6885 MB / 0.5881 GB, free: 0.582 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.227e-05/0.5712, allocations: 16.16 kB / 0.5881 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.5713, allocations: 15.38 kB / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5713, allocations: 0 / 0.5881 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of Templates: time 0.003254/0.5745, allocations: 1.23 MB / 0.5893 GB, free: 15.32 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches