Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 169.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.48/1.48, allocations: 221.5 MB / 230.7 MB, free: 7.586 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.0009419/0.0009419, allocations: 97.36 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.1886/0.1886, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.88e-05, allocations: 8.203 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 61.91 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3914/0.5182, allocations: 87.5 MB / 0.5801 GB, free: 9.043 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.5185, allocations: 71.97 kB / 0.5802 GB, free: 8.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01102/0.5295, allocations: 4.143 MB / 0.5842 GB, free: 4.844 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5296, allocations: 0 / 0.5842 GB, free: 4.844 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.5296, allocations: 0 / 0.5842 GB, free: 4.844 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.0004331/0.53, allocations: 365.4 kB / 0.5846 GB, free: 4.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5301, allocations: 15.98 kB / 0.5846 GB, free: 4.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.5301, allocations: 7.906 kB / 0.5846 GB, free: 4.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.5304, allocations: 194.9 kB / 0.5848 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.5304, allocations: 0 / 0.5848 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.5304, allocations: 0 / 0.5848 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.69e-05/0.5305, allocations: 15.95 kB / 0.5848 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5306, allocations: 55.41 kB / 0.5849 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5306, allocations: 0 / 0.5849 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5306, allocations: 3.984 kB / 0.5849 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.5307, allocations: 8 kB / 0.5849 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.531, allocations: 245.4 kB / 0.5851 GB, free: 3.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.5312, allocations: 42.45 kB / 0.5851 GB, free: 3.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.5312, allocations: 12.86 kB / 0.5852 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.5312, allocations: 0 / 0.5852 GB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.5313, allocations: 34.56 kB / 0.5852 GB, free: 3.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.5313, allocations: 0 / 0.5852 GB, free: 3.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003691/0.5316, allocations: 101.4 kB / 0.5853 GB, free: 3.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.5317, allocations: 81.11 kB / 0.5854 GB, free: 3.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.5318, allocations: 117 kB / 0.5855 GB, free: 3.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.5319, allocations: 25.7 kB / 0.5855 GB, free: 3.355 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.5319, allocations: 92.14 kB / 0.5856 GB, free: 3.262 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.532, allocations: 19.75 kB / 0.5856 GB, free: 3.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.532, allocations: 0 / 0.5856 GB, free: 3.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5321, allocations: 314.8 kB / 0.5859 GB, free: 2.926 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.5321, allocations: 8 kB / 0.5859 GB, free: 2.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.5322, allocations: 21.72 kB / 0.5859 GB, free: 2.891 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.92e-05/0.5322, allocations: 12.73 kB / 0.5859 GB, free: 2.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5322, allocations: 0 / 0.5859 GB, free: 2.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000102/0.5323, allocations: 69.53 kB / 0.586 GB, free: 2.805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.5323, allocations: 4 kB / 0.586 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5324, allocations: 0 / 0.586 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.5324, allocations: 4 kB / 0.586 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/0.5325, allocations: 11.98 kB / 0.586 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.5325, allocations: 4 kB / 0.586 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.5325, allocations: 11.92 kB / 0.586 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.5325, allocations: 0 / 0.586 GB, free: 2.77 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.589e-05/0.5326, allocations: 109 kB / 0.5862 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.5327, allocations: 7.859 kB / 0.5862 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.5328, allocations: 74.02 kB / 0.5862 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5328, allocations: 0 / 0.5862 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5328, allocations: 0 / 0.5862 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5328, allocations: 7.984 kB / 0.5862 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.5332, allocations: 299.4 kB / 0.5865 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5332, allocations: 0 / 0.5865 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.5332, allocations: 19.98 kB / 0.5865 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.5332, allocations: 0 / 0.5865 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.5333, allocations: 3.938 kB / 0.5865 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5333, allocations: 0 / 0.5865 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5333, allocations: 3.938 kB / 0.5866 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.5334, allocations: 151.5 kB / 0.5867 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.5335, allocations: 96.95 kB / 0.5868 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.5335, allocations: 0 / 0.5868 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.5336, allocations: 8 kB / 0.5868 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.5336, allocations: 7.984 kB / 0.5868 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.5336, allocations: 0 / 0.5868 GB, free: 1.902 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.484e-05/0.5337, allocations: 105 kB / 0.5869 GB, free: 1.801 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5337, allocations: 0 / 0.5869 GB, free: 1.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.534, allocations: 27.98 kB / 0.5869 GB, free: 1.773 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.0008647/0.5348, allocations: 388.4 kB / 0.5873 GB, free: 1.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.513e-05/0.5349, allocations: 24 kB / 0.5873 GB, free: 1.438 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.535, allocations: 4 kB / 0.5873 GB, free: 1.434 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.535, allocations: 12 kB / 0.5873 GB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.5352, allocations: 11.98 kB / 0.5873 GB, free: 1.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.5355, allocations: 91.98 kB / 0.5874 GB, free: 1.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.5357, allocations: 0.6923 MB / 0.5881 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.819e-05/0.5358, allocations: 16.17 kB / 0.5881 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.5358, allocations: 15.44 kB / 0.5881 GB, free: 0.543 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5359, allocations: 0 / 0.5881 GB, free: 0.543 MB / 394.7 MB Notification: Performance of Templates: time 0.003494/0.5394, allocations: 1.233 MB / 0.5893 GB, free: 15.31 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches