Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008926/0.0008926, allocations: 173 kB / 8.742 MB, free: 344 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.509/1.509, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.00104/0.00104, allocations: 92.98 kB / 281.6 MB, free: 5.309 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.2094/0.2094, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.032e-05, allocations: 4 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 61.91 MB / 0.4947 GB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.5903, allocations: 87.56 MB / 0.5802 GB, free: 8.941 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5906, allocations: 67.95 kB / 0.5802 GB, free: 8.875 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0162/0.6068, allocations: 7.92 MB / 0.588 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.6069, allocations: 0 / 0.588 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.6069, allocations: 8 kB / 0.588 GB, free: 0.9453 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.00052/0.6074, allocations: 0.5481 MB / 0.5885 GB, free: 360 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.6075, allocations: 11.98 kB / 0.5885 GB, free: 348 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.6075, allocations: 43.44 kB / 0.5886 GB, free: 304 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.608, allocations: 323.3 kB / 0.5889 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.608, allocations: 0 / 0.5889 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.608, allocations: 4 kB / 0.5889 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.536e-05/0.6081, allocations: 12 kB / 0.5889 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.943e-05/0.6081, allocations: 45.62 kB / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.6082, allocations: 4 kB / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.6082, allocations: 4 kB / 0.5889 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.6082, allocations: 0 / 0.5889 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.6087, allocations: 405.3 kB / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.805e-05/0.6087, allocations: 26.58 kB / 0.5894 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.6088, allocations: 8.859 kB / 0.5894 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.6088, allocations: 4 kB / 0.5894 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.6088, allocations: 38.5 kB / 0.5894 GB, free: 15.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6088, allocations: 3.938 kB / 0.5894 GB, free: 15.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001732/0.609, allocations: 81.31 kB / 0.5895 GB, free: 15.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.6091, allocations: 51.41 kB / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.6101, allocations: 0.7512 MB / 0.5903 GB, free: 14.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.6102, allocations: 29.69 kB / 0.5903 GB, free: 14.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.6103, allocations: 216.8 kB / 0.5905 GB, free: 14.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.6103, allocations: 7.844 kB / 0.5905 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.6103, allocations: 4 kB / 0.5905 GB, free: 14.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6105, allocations: 358.8 kB / 0.5909 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.6105, allocations: 8 kB / 0.5909 GB, free: 13.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.416e-05/0.6105, allocations: 7.984 kB / 0.5909 GB, free: 13.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.953e-05/0.6105, allocations: 8 kB / 0.5909 GB, free: 13.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6105, allocations: 0 / 0.5909 GB, free: 13.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001083/0.6107, allocations: 93.19 kB / 0.591 GB, free: 13.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.6107, allocations: 9.344 kB / 0.591 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.6107, allocations: 0 / 0.591 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.6107, allocations: 8 kB / 0.591 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.6108, allocations: 8 kB / 0.591 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.6108, allocations: 0 / 0.591 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.6109, allocations: 7.984 kB / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.6109, allocations: 4 kB / 0.591 GB, free: 13.64 MB / 410.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 (3): * Single equations (assignments): 3 * 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 6.441e-05/0.611, allocations: 104.9 kB / 0.5911 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.611, allocations: 35.53 kB / 0.5911 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.6112, allocations: 105.3 kB / 0.5912 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.6112, allocations: 3.938 kB / 0.5912 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6112, allocations: 0 / 0.5912 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.6112, allocations: 4 kB / 0.5912 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.6115, allocations: 301.9 kB / 0.5915 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6115, allocations: 3.953 kB / 0.5915 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.6116, allocations: 11.98 kB / 0.5916 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.6116, allocations: 0 / 0.5916 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.6116, allocations: 4 kB / 0.5916 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6116, allocations: 4 kB / 0.5916 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6116, allocations: 0 / 0.5916 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.6118, allocations: 175.1 kB / 0.5917 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.612, allocations: 164.5 kB / 0.5919 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.612, allocations: 7.938 kB / 0.5919 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.531e-05/0.6121, allocations: 4 kB / 0.5919 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.6121, allocations: 3.984 kB / 0.5919 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.6122, allocations: 8 kB / 0.5919 GB, free: 12.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005774/0.6127, allocations: 0.6082 MB / 0.5925 GB, free: 12.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6127, allocations: 0 / 0.5925 GB, free: 12.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.613, allocations: 48 kB / 0.5925 GB, free: 11.97 MB / 410.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 (3): * Single equations (assignments): 3 * 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.0005971/0.6136, allocations: 308.3 kB / 0.5928 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.212e-05/0.6137, allocations: 23.97 kB / 0.5929 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6137, allocations: 0 / 0.5929 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.043e-05/0.6137, allocations: 8 kB / 0.5929 GB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.614, allocations: 23.8 kB / 0.5929 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008909/0.6149, allocations: 0.6871 MB / 0.5936 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.6153, allocations: 0.8263 MB / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.807e-05/0.6154, allocations: 40.16 kB / 0.5944 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.6154, allocations: 23.44 kB / 0.5944 GB, free: 10.05 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.6155, allocations: 0 / 0.5944 GB, free: 10.05 MB / 410.7 MB Notification: Performance of Templates: time 0.005068/0.6205, allocations: 1.982 MB / 0.5964 GB, free: 8.059 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches