Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, 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.488/1.488, allocations: 221.5 MB / 230.7 MB, free: 7.535 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.0008433/0.0008433, allocations: 87.36 kB / 281.6 MB, free: 5.273 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.2501/0.2501, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.823e-05, allocations: 224 / 444.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1413, allocations: 61.92 MB / 0.4947 GB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4343/0.5757, allocations: 87.32 MB / 0.5799 GB, free: 9.238 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.5759, allocations: 67.95 kB / 0.58 GB, free: 9.172 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009511/0.5854, allocations: 3.7 MB / 0.5836 GB, free: 5.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.5855, allocations: 0 / 0.5836 GB, free: 5.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.5855, allocations: 4.844 kB / 0.5836 GB, free: 5.477 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.0003424/0.5858, allocations: 365.4 kB / 0.584 GB, free: 5.078 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.5859, allocations: 15.98 kB / 0.584 GB, free: 5.062 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.5859, allocations: 7.906 kB / 0.584 GB, free: 5.055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.5861, allocations: 190.9 kB / 0.5842 GB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.5862, allocations: 0 / 0.5842 GB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.5862, allocations: 0 / 0.5842 GB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.698e-05/0.5863, allocations: 19.94 kB / 0.5842 GB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.962e-05/0.5863, allocations: 45.69 kB / 0.5842 GB, free: 4.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.5864, allocations: 3.938 kB / 0.5842 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.5864, allocations: 0 / 0.5842 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5864, allocations: 4 kB / 0.5842 GB, free: 4.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.5867, allocations: 261.4 kB / 0.5845 GB, free: 4.457 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.5869, allocations: 46.45 kB / 0.5845 GB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.587, allocations: 16.84 kB / 0.5846 GB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.587, allocations: 0 / 0.5846 GB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.587, allocations: 34.56 kB / 0.5846 GB, free: 4.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.587, allocations: 0 / 0.5846 GB, free: 4.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003769/0.5874, allocations: 109.3 kB / 0.5847 GB, free: 4.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.5874, allocations: 51.41 kB / 0.5847 GB, free: 4.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.5876, allocations: 139.7 kB / 0.5849 GB, free: 4.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.5876, allocations: 25.7 kB / 0.5849 GB, free: 3.988 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.5876, allocations: 96.12 kB / 0.585 GB, free: 3.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.5877, allocations: 15.75 kB / 0.585 GB, free: 3.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.5877, allocations: 0 / 0.585 GB, free: 3.875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5878, allocations: 322.8 kB / 0.5853 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.5878, allocations: 12 kB / 0.5853 GB, free: 3.539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.856e-05/0.5879, allocations: 8 kB / 0.5853 GB, free: 3.531 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.5879, allocations: 20.17 kB / 0.5854 GB, free: 3.512 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5879, allocations: 4 kB / 0.5854 GB, free: 3.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001017/0.588, allocations: 69.48 kB / 0.5854 GB, free: 3.434 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.588, allocations: 8 kB / 0.5854 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5881, allocations: 0 / 0.5854 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.5881, allocations: 0 / 0.5854 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.081e-05/0.5882, allocations: 15.98 kB / 0.5854 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5882, allocations: 3.984 kB / 0.5855 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.5882, allocations: 4 kB / 0.5855 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.5882, allocations: 8 kB / 0.5855 GB, free: 3.395 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.509e-05/0.5883, allocations: 101 kB / 0.5856 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.5884, allocations: 11.86 kB / 0.5856 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.5885, allocations: 70.08 kB / 0.5856 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.5885, allocations: 11.92 kB / 0.5856 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5885, allocations: 0 / 0.5856 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5885, allocations: 0 / 0.5856 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.5889, allocations: 323.1 kB / 0.586 GB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5889, allocations: 0 / 0.586 GB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/0.589, allocations: 11.98 kB / 0.586 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.589, allocations: 4 kB / 0.586 GB, free: 2.816 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.589, allocations: 3.938 kB / 0.586 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.589, allocations: 0 / 0.586 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.589, allocations: 0 / 0.586 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.5892, allocations: 167.5 kB / 0.5861 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.5892, allocations: 97.02 kB / 0.5862 GB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.5893, allocations: 4 kB / 0.5862 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.5893, allocations: 4 kB / 0.5862 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.5894, allocations: 7.984 kB / 0.5862 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.5894, allocations: 0 / 0.5862 GB, free: 2.504 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.516e-05/0.5895, allocations: 112.7 kB / 0.5864 GB, free: 2.395 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5895, allocations: 4 kB / 0.5864 GB, free: 2.391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.5897, allocations: 15.91 kB / 0.5864 GB, free: 2.375 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.0007605/0.5905, allocations: 333.8 kB / 0.5867 GB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.5906, allocations: 35.94 kB / 0.5867 GB, free: 2.078 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5906, allocations: 0 / 0.5867 GB, free: 2.078 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.979e-05/0.5906, allocations: 19.92 kB / 0.5867 GB, free: 2.059 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.5908, allocations: 15.05 kB / 0.5868 GB, free: 2.047 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.5911, allocations: 124 kB / 0.5869 GB, free: 1.902 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.5914, allocations: 0.6963 MB / 0.5876 GB, free: 1.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.531e-05/0.5915, allocations: 16.17 kB / 0.5876 GB, free: 1.164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.5915, allocations: 11.44 kB / 0.5876 GB, free: 1.152 MB / 394.7 MB Notification: Performance of SimCode: time 1.783e-06/0.5915, allocations: 0 / 0.5876 GB, free: 1.152 MB / 394.7 MB Notification: Performance of Templates: time 0.003159/0.5947, allocations: 1.032 MB / 0.5886 GB, free: 128 kB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches