Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009905/0.0009905, allocations: 180.7 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.269/1.269, allocations: 221.3 MB / 236 MB, free: 2.977 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.000787/0.0007871, allocations: 87.86 kB / 287 MB, free: 260 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.1765/0.1765, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.01e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.4863, allocations: 88.16 MB / 0.5878 GB, free: 1.188 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.4865, allocations: 75.94 kB / 0.5879 GB, free: 1.113 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01043/0.497, allocations: 4.281 MB / 0.592 GB, free: 12.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.497, allocations: 0 / 0.592 GB, free: 12.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.497, allocations: 4 kB / 0.5921 GB, free: 12.84 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.0003749/0.4974, allocations: 362.4 kB / 0.5924 GB, free: 12.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4975, allocations: 8.031 kB / 0.5924 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.4975, allocations: 7.906 kB / 0.5924 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.4978, allocations: 186.9 kB / 0.5926 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.4978, allocations: 0 / 0.5926 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.4978, allocations: 8 kB / 0.5926 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.4979, allocations: 63.3 kB / 0.5927 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.498, allocations: 0 / 0.5927 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.498, allocations: 0 / 0.5927 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.498, allocations: 4 kB / 0.5927 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.488e-05/0.498, allocations: 19.88 kB / 0.5927 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.4984, allocations: 276.9 kB / 0.5929 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.4985, allocations: 34.58 kB / 0.593 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.4986, allocations: 12.86 kB / 0.593 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.4986, allocations: 4.078 kB / 0.593 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.4986, allocations: 34.5 kB / 0.593 GB, free: 11.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4986, allocations: 0 / 0.593 GB, free: 11.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004119/0.4991, allocations: 101.4 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.4991, allocations: 77.11 kB / 0.5932 GB, free: 11.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.4993, allocations: 129.5 kB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.4993, allocations: 25.7 kB / 0.5933 GB, free: 11.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.4993, allocations: 92.12 kB / 0.5934 GB, free: 11.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.4994, allocations: 15.75 kB / 0.5934 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.4994, allocations: 0 / 0.5934 GB, free: 11.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4995, allocations: 322.8 kB / 0.5938 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.4995, allocations: 12 kB / 0.5938 GB, free: 10.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.81e-05/0.4996, allocations: 25.78 kB / 0.5938 GB, free: 10.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.4996, allocations: 15.95 kB / 0.5938 GB, free: 10.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4996, allocations: 0 / 0.5938 GB, free: 10.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.596e-05/0.4997, allocations: 61.59 kB / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4998, allocations: 4 kB / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4998, allocations: 0 / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4998, allocations: 144 / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.4999, allocations: 23.95 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4999, allocations: 0 / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.4999, allocations: 11.98 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.4999, allocations: 0 / 0.5939 GB, free: 10.71 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 7.342e-05/0.5, allocations: 108.9 kB / 0.594 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.5001, allocations: 7.906 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.5002, allocations: 69.77 kB / 0.5941 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.5002, allocations: 8 kB / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5002, allocations: 0 / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5002, allocations: 0 / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.5006, allocations: 330.5 kB / 0.5944 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5006, allocations: 0 / 0.5944 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.5006, allocations: 19.92 kB / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5007, allocations: 0 / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.5007, allocations: 0 / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5007, allocations: 3.938 kB / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5007, allocations: 4.312 kB / 0.5944 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.5008, allocations: 171.3 kB / 0.5946 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.5009, allocations: 85 kB / 0.5947 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.5009, allocations: 4 kB / 0.5947 GB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.501, allocations: 4 kB / 0.5947 GB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.501, allocations: 7.984 kB / 0.5947 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.501, allocations: 4 kB / 0.5947 GB, free: 9.797 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.519e-05/0.5011, allocations: 107.8 kB / 0.5948 GB, free: 9.695 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5011, allocations: 0 / 0.5948 GB, free: 9.695 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000234/0.5014, allocations: 35.97 kB / 0.5948 GB, free: 9.66 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.0008598/0.5022, allocations: 409.7 kB / 0.5952 GB, free: 9.367 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.721e-05/0.5023, allocations: 31.94 kB / 0.5953 GB, free: 9.336 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5024, allocations: 0 / 0.5953 GB, free: 9.336 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.063e-05/0.5024, allocations: 16 kB / 0.5953 GB, free: 9.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.5026, allocations: 15.94 kB / 0.5953 GB, free: 9.305 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.5028, allocations: 93.53 kB / 0.5954 GB, free: 9.188 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.5031, allocations: 0.6926 MB / 0.5961 GB, free: 8.469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.384e-05/0.5032, allocations: 16.12 kB / 0.5961 GB, free: 8.453 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.5032, allocations: 19.42 kB / 0.5961 GB, free: 8.434 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5032, allocations: 0 / 0.5961 GB, free: 8.434 MB / 410.7 MB Notification: Performance of Templates: time 0.003286/0.5065, allocations: 1.277 MB / 0.5973 GB, free: 7.16 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches