Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.CombiTable1Dv.Test7,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.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009846/0.0009846, allocations: 169.7 kB / 8.739 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.378/1.378, allocations: 221.5 MB / 230.7 MB, free: 7.5 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.000876/0.000876, allocations: 98.14 kB / 281.6 MB, free: 5.246 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.2126/0.2126, allocations: 44.15 MB / 376.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2.004e-05, allocations: 4 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1492, allocations: 61.92 MB / 0.4947 GB, free: 1.227 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5804, allocations: 87.32 MB / 0.5799 GB, free: 9.172 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5807, allocations: 75.95 kB / 0.58 GB, free: 9.098 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009818/0.5905, allocations: 3.711 MB / 0.5836 GB, free: 5.395 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5906, allocations: 0 / 0.5836 GB, free: 5.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.5906, allocations: 0 / 0.5836 GB, free: 5.395 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.0004255/0.591, allocations: 362.4 kB / 0.584 GB, free: 4.996 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.5911, allocations: 19.98 kB / 0.584 GB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.5911, allocations: 3.906 kB / 0.584 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.5914, allocations: 190.9 kB / 0.5842 GB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.5914, allocations: 4 kB / 0.5842 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.5914, allocations: 0 / 0.5842 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.912e-05/0.5915, allocations: 19.94 kB / 0.5842 GB, free: 4.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.328e-05/0.5916, allocations: 37.7 kB / 0.5842 GB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5916, allocations: 0 / 0.5842 GB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.5917, allocations: 0 / 0.5842 GB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.5917, allocations: 3.984 kB / 0.5843 GB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.5921, allocations: 269.4 kB / 0.5845 GB, free: 4.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.5923, allocations: 38.47 kB / 0.5845 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.5923, allocations: 16.94 kB / 0.5846 GB, free: 4.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.5924, allocations: 4 kB / 0.5846 GB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.5924, allocations: 38.55 kB / 0.5846 GB, free: 4.258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5924, allocations: 0 / 0.5846 GB, free: 4.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004479/0.5929, allocations: 113.2 kB / 0.5847 GB, free: 4.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.5929, allocations: 51.41 kB / 0.5848 GB, free: 4.078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.5931, allocations: 139.3 kB / 0.5849 GB, free: 3.934 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.5931, allocations: 25.7 kB / 0.5849 GB, free: 3.902 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.5931, allocations: 96.12 kB / 0.585 GB, free: 3.805 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.5932, allocations: 11.75 kB / 0.585 GB, free: 3.793 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.5932, allocations: 4 kB / 0.585 GB, free: 3.789 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5933, allocations: 322.8 kB / 0.5853 GB, free: 3.465 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.5933, allocations: 8 kB / 0.5853 GB, free: 3.457 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.5934, allocations: 12 kB / 0.5854 GB, free: 3.445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.081e-05/0.5934, allocations: 16.17 kB / 0.5854 GB, free: 3.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.5934, allocations: 3.938 kB / 0.5854 GB, free: 3.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001059/0.5935, allocations: 73.48 kB / 0.5854 GB, free: 3.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5935, allocations: 9.25 kB / 0.5854 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5935, allocations: 0 / 0.5854 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5936, allocations: 4 kB / 0.5855 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.5936, allocations: 15.98 kB / 0.5855 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.5936, allocations: 0 / 0.5855 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.5937, allocations: 4 kB / 0.5855 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.5937, allocations: 0 / 0.5855 GB, free: 3.316 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 6.741e-05/0.5938, allocations: 105 kB / 0.5856 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.5938, allocations: 15.86 kB / 0.5856 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.594, allocations: 78.06 kB / 0.5857 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.594, allocations: 4 kB / 0.5857 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.594, allocations: 0 / 0.5857 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.594, allocations: 7.922 kB / 0.5857 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.5943, allocations: 307.1 kB / 0.586 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5943, allocations: 0 / 0.586 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.5944, allocations: 12 kB / 0.586 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5944, allocations: 7.922 kB / 0.586 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.5944, allocations: 8 kB / 0.586 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5944, allocations: 0 / 0.586 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5944, allocations: 0 / 0.586 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.5946, allocations: 163.6 kB / 0.5861 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.5947, allocations: 88.97 kB / 0.5862 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.5947, allocations: 7.984 kB / 0.5862 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.5948, allocations: 4 kB / 0.5862 GB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.5948, allocations: 8 kB / 0.5863 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.5948, allocations: 3.984 kB / 0.5863 GB, free: 2.422 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.146e-05/0.5949, allocations: 112.7 kB / 0.5864 GB, free: 2.312 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5949, allocations: 0 / 0.5864 GB, free: 2.312 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.5952, allocations: 23.91 kB / 0.5864 GB, free: 2.289 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.0007915/0.596, allocations: 337.4 kB / 0.5867 GB, free: 2.023 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.5961, allocations: 27.94 kB / 0.5867 GB, free: 1.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5961, allocations: 0 / 0.5867 GB, free: 1.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.244e-05/0.5961, allocations: 19.98 kB / 0.5868 GB, free: 1.977 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.5964, allocations: 12.94 kB / 0.5868 GB, free: 1.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.5967, allocations: 119.7 kB / 0.5869 GB, free: 1.824 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.597, allocations: 0.7002 MB / 0.5876 GB, free: 1.098 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.388e-05/0.597, allocations: 12.42 kB / 0.5876 GB, free: 1.086 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.5971, allocations: 11.44 kB / 0.5876 GB, free: 1.074 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5971, allocations: 3.938 kB / 0.5876 GB, free: 1.07 MB / 394.7 MB Notification: Performance of Templates: time 0.003293/0.6004, allocations: 1.03 MB / 0.5886 GB, free: 44 kB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches