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.0009419/0.0009419, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 221.3 MB / 236 MB, free: 2.996 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.000827/0.000827, allocations: 91.8 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1941/0.1941, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.03e-05, allocations: 4.219 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3536/0.466, allocations: 87.98 MB / 0.5876 GB, free: 1.336 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.4662, allocations: 68.66 kB / 0.5877 GB, free: 1.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009562/0.4758, allocations: 3.724 MB / 0.5913 GB, free: 13.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4758, allocations: 0 / 0.5913 GB, free: 13.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.4758, allocations: 4 kB / 0.5913 GB, free: 13.55 MB / 410.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.0003357/0.4762, allocations: 366.4 kB / 0.5917 GB, free: 13.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4762, allocations: 8.031 kB / 0.5917 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.4763, allocations: 11.91 kB / 0.5917 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.4765, allocations: 196 kB / 0.5919 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.4765, allocations: 0 / 0.5919 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.4765, allocations: 4 kB / 0.5919 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.26e-05/0.4766, allocations: 49.64 kB / 0.5919 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4766, allocations: 0 / 0.5919 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.4767, allocations: 0 / 0.5919 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4767, allocations: 4 kB / 0.5919 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.475e-05/0.4767, allocations: 16 kB / 0.592 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.4771, allocations: 292.7 kB / 0.5922 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.4773, allocations: 38.52 kB / 0.5923 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.4773, allocations: 16.84 kB / 0.5923 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.4773, allocations: 12.08 kB / 0.5923 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.4774, allocations: 30.56 kB / 0.5923 GB, free: 12.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4774, allocations: 0 / 0.5923 GB, free: 12.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003476/0.4777, allocations: 117.2 kB / 0.5924 GB, free: 12.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.4778, allocations: 51.41 kB / 0.5925 GB, free: 12.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.4779, allocations: 134.6 kB / 0.5926 GB, free: 12.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.4779, allocations: 33.7 kB / 0.5927 GB, free: 12.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.478, allocations: 96.12 kB / 0.5927 GB, free: 11.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.478, allocations: 15.75 kB / 0.5928 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.478, allocations: 0 / 0.5928 GB, free: 11.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.205e-05/0.4781, allocations: 318.8 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.4781, allocations: 12 kB / 0.5931 GB, free: 11.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.076e-05/0.4781, allocations: 15.94 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.4782, allocations: 19.94 kB / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.4782, allocations: 0 / 0.5931 GB, free: 11.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.998e-05/0.4783, allocations: 73.59 kB / 0.5932 GB, free: 11.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4783, allocations: 5.406 kB / 0.5932 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.4783, allocations: 0 / 0.5932 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.4783, allocations: 4 kB / 0.5932 GB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.541e-05/0.4784, allocations: 11.98 kB / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4784, allocations: 4 kB / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.4785, allocations: 4 kB / 0.5932 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.4785, allocations: 0 / 0.5932 GB, free: 11.42 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 (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 5.175e-05/0.4785, allocations: 116.9 kB / 0.5933 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.4786, allocations: 7.906 kB / 0.5933 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.4787, allocations: 82.06 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4787, allocations: 4 kB / 0.5934 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4787, allocations: 0 / 0.5934 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4787, allocations: 3.984 kB / 0.5934 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.4791, allocations: 342.5 kB / 0.5937 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4791, allocations: 4 kB / 0.5937 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-05/0.4791, allocations: 15.98 kB / 0.5938 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4791, allocations: 7.938 kB / 0.5938 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.4792, allocations: 0 / 0.5938 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4792, allocations: 0 / 0.5938 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.4792, allocations: 0 / 0.5938 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.4793, allocations: 167.4 kB / 0.5939 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.4794, allocations: 89 kB / 0.594 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.4794, allocations: 4 kB / 0.594 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.4795, allocations: 11.94 kB / 0.594 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.4795, allocations: 7.922 kB / 0.594 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.4795, allocations: 4 kB / 0.594 GB, free: 10.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.204e-05/0.4796, allocations: 116.4 kB / 0.5941 GB, free: 10.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4796, allocations: 0 / 0.5941 GB, free: 10.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.4798, allocations: 23.91 kB / 0.5942 GB, free: 10.33 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 (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.0007522/0.4806, allocations: 358.1 kB / 0.5945 GB, free: 10.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.732e-05/0.4807, allocations: 39.98 kB / 0.5945 GB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4807, allocations: 0 / 0.5945 GB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.4807, allocations: 19.94 kB / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.4809, allocations: 17.81 kB / 0.5946 GB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.4812, allocations: 129.1 kB / 0.5947 GB, free: 9.859 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.4815, allocations: 0.7025 MB / 0.5954 GB, free: 9.133 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.453e-05/0.4815, allocations: 12.42 kB / 0.5954 GB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.4816, allocations: 11.44 kB / 0.5954 GB, free: 9.109 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4816, allocations: 0 / 0.5954 GB, free: 9.109 MB / 410.7 MB Notification: Performance of Templates: time 0.002958/0.4845, allocations: 1.065 MB / 0.5965 GB, free: 8.043 MB / 410.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