Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009611/0.0009612, allocations: 180.4 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.268/1.268, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008238/0.000824, allocations: 91.81 kB / 287 MB, free: 248 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.1808/0.1808, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.77e-05/2.773e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.361/0.4698, allocations: 87.97 MB / 0.5876 GB, free: 1.348 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.4701, allocations: 79.78 kB / 0.5877 GB, free: 1.273 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01052/0.4806, allocations: 4.259 MB / 0.5918 GB, free: 13.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4807, allocations: 0 / 0.5918 GB, free: 13.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.4807, allocations: 4 kB / 0.5919 GB, free: 13.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003807/0.4811, allocations: 398.2 kB / 0.5922 GB, free: 12.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4811, allocations: 8.031 kB / 0.5922 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.4812, allocations: 7.906 kB / 0.5922 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002477/0.4814, allocations: 202.9 kB / 0.5924 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.4815, allocations: 7.938 kB / 0.5924 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.4815, allocations: 7.906 kB / 0.5925 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.4816, allocations: 53.56 kB / 0.5925 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.4816, allocations: 8 kB / 0.5925 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4817, allocations: 4 kB / 0.5925 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4817, allocations: 0 / 0.5925 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.785e-05/0.4817, allocations: 12 kB / 0.5925 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.4821, allocations: 292.8 kB / 0.5928 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.265e-05/0.4822, allocations: 42.5 kB / 0.5928 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.4822, allocations: 16.86 kB / 0.5929 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.4823, allocations: 0 / 0.5929 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.4823, allocations: 30.56 kB / 0.5929 GB, free: 11.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4823, allocations: 0 / 0.5929 GB, free: 11.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005032/0.4828, allocations: 157.2 kB / 0.593 GB, free: 11.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.4829, allocations: 51.41 kB / 0.5931 GB, free: 11.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.4831, allocations: 185.4 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.4831, allocations: 25.7 kB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.4831, allocations: 100 kB / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.4832, allocations: 31.7 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.4832, allocations: 0 / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4833, allocations: 330.8 kB / 0.5937 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.4833, allocations: 12 kB / 0.5937 GB, free: 10.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.4834, allocations: 16 kB / 0.5938 GB, free: 10.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.863e-05/0.4834, allocations: 28.16 kB / 0.5938 GB, free: 10.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.4834, allocations: 0 / 0.5938 GB, free: 10.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001162/0.4835, allocations: 81.78 kB / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4836, allocations: 9.094 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.4836, allocations: 3.984 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4836, allocations: 0 / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.4837, allocations: 16 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4837, allocations: 0 / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.4838, allocations: 7.984 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.4838, allocations: 15.98 kB / 0.5939 GB, free: 10.69 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 (8): * Single equations (assignments): 8 * 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.058e-05/0.4839, allocations: 108.9 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.4839, allocations: 11.84 kB / 0.594 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.4841, allocations: 98.28 kB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4841, allocations: 0 / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4841, allocations: 4 kB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4841, allocations: 7.922 kB / 0.5941 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.4845, allocations: 399.2 kB / 0.5945 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4845, allocations: 0 / 0.5945 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/0.4846, allocations: 23.98 kB / 0.5945 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.4846, allocations: 0 / 0.5945 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.4846, allocations: 7.938 kB / 0.5945 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4846, allocations: 0 / 0.5945 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4846, allocations: 0 / 0.5945 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.4848, allocations: 198.2 kB / 0.5947 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.4849, allocations: 96.91 kB / 0.5948 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.4849, allocations: 8 kB / 0.5948 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.485, allocations: 4 kB / 0.5948 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.485, allocations: 11.94 kB / 0.5949 GB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.4851, allocations: 8 kB / 0.5949 GB, free: 9.609 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.4852, allocations: 160.1 kB / 0.595 GB, free: 9.453 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4852, allocations: 0 / 0.595 GB, free: 9.453 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.4854, allocations: 23.94 kB / 0.595 GB, free: 9.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000897/0.4863, allocations: 426.7 kB / 0.5954 GB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.4865, allocations: 43.98 kB / 0.5955 GB, free: 9.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4865, allocations: 0 / 0.5955 GB, free: 9.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.4865, allocations: 23.94 kB / 0.5955 GB, free: 9.055 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.4867, allocations: 15.98 kB / 0.5955 GB, free: 9.039 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.4871, allocations: 179.9 kB / 0.5957 GB, free: 8.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.4873, allocations: 0.7083 MB / 0.5964 GB, free: 8.098 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.647e-05/0.4874, allocations: 16.95 kB / 0.5964 GB, free: 8.078 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.4874, allocations: 19.38 kB / 0.5964 GB, free: 8.059 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4875, allocations: 3.938 kB / 0.5964 GB, free: 8.055 MB / 410.7 MB Notification: Performance of Templates: time 0.003576/0.491, allocations: 1.339 MB / 0.5977 GB, free: 6.715 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches