Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, 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.268/1.268, allocations: 221.3 MB / 236 MB, free: 2.934 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.0008187/0.0008188, allocations: 99.47 kB / 287 MB, free: 232 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.1737/0.1737, allocations: 44.14 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.057e-05, allocations: 8 kB / 451.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3763/0.4958, allocations: 88.16 MB / 0.5878 GB, free: 1.145 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/0.496, allocations: 79.86 kB / 0.5879 GB, free: 1.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01032/0.5064, allocations: 4.281 MB / 0.592 GB, free: 12.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5064, allocations: 0 / 0.592 GB, free: 12.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.5064, allocations: 4 kB / 0.5921 GB, free: 12.79 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.0003412/0.5068, allocations: 354.4 kB / 0.5924 GB, free: 12.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.5068, allocations: 12.03 kB / 0.5924 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.5069, allocations: 7.906 kB / 0.5924 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.5071, allocations: 186.9 kB / 0.5926 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.5071, allocations: 4 kB / 0.5926 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.5072, allocations: 11.94 kB / 0.5926 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.5073, allocations: 55.36 kB / 0.5927 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.5073, allocations: 0 / 0.5927 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5073, allocations: 0 / 0.5927 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5073, allocations: 4 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.166e-05/0.5074, allocations: 15.94 kB / 0.5927 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.5078, allocations: 280.8 kB / 0.5929 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.5079, allocations: 38.56 kB / 0.593 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.508, allocations: 12.86 kB / 0.593 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.508, allocations: 0 / 0.593 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.508, allocations: 34.5 kB / 0.593 GB, free: 11.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.5081, allocations: 0 / 0.593 GB, free: 11.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004025/0.5085, allocations: 105.5 kB / 0.5931 GB, free: 11.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.5085, allocations: 81.05 kB / 0.5932 GB, free: 11.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.5087, allocations: 122.1 kB / 0.5933 GB, free: 11.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.5087, allocations: 25.7 kB / 0.5933 GB, free: 11.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.5088, allocations: 92.12 kB / 0.5934 GB, free: 11.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.5088, allocations: 15.75 kB / 0.5934 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.5088, allocations: 4 kB / 0.5935 GB, free: 11.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5089, allocations: 318.8 kB / 0.5938 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.509, allocations: 12 kB / 0.5938 GB, free: 10.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/0.509, allocations: 21.72 kB / 0.5938 GB, free: 10.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.439e-05/0.5091, allocations: 11.95 kB / 0.5938 GB, free: 10.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5091, allocations: 4 kB / 0.5938 GB, free: 10.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001204/0.5092, allocations: 61.59 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.5092, allocations: 4 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5092, allocations: 0 / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5093, allocations: 4.031 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.5093, allocations: 20.17 kB / 0.5939 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.5094, allocations: 0 / 0.5939 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.5095, allocations: 12 kB / 0.5939 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.5095, allocations: 4 kB / 0.5939 GB, free: 10.67 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.077e-05/0.5096, allocations: 104.9 kB / 0.594 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.5096, allocations: 11.89 kB / 0.594 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.5098, allocations: 73.91 kB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5098, allocations: 3.984 kB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5098, allocations: 4 kB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5098, allocations: 0 / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.5102, allocations: 330.5 kB / 0.5944 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5102, allocations: 0 / 0.5944 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.68e-05/0.5103, allocations: 15.98 kB / 0.5944 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.5103, allocations: 3.938 kB / 0.5944 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.5103, allocations: 7.938 kB / 0.5944 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5103, allocations: 0 / 0.5944 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5103, allocations: 0 / 0.5944 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.5105, allocations: 167.3 kB / 0.5946 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.5105, allocations: 85 kB / 0.5947 GB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.5106, allocations: 4 kB / 0.5947 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.5106, allocations: 8 kB / 0.5947 GB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.5107, allocations: 7.984 kB / 0.5947 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.5107, allocations: 4 kB / 0.5947 GB, free: 9.746 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.611e-05/0.5108, allocations: 106.4 kB / 0.5948 GB, free: 9.645 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5108, allocations: 0 / 0.5948 GB, free: 9.645 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.511, allocations: 31.98 kB / 0.5948 GB, free: 9.613 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.0008701/0.5119, allocations: 414 kB / 0.5952 GB, free: 9.312 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.512, allocations: 28 kB / 0.5953 GB, free: 9.285 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.512, allocations: 0 / 0.5953 GB, free: 9.285 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.5121, allocations: 16 kB / 0.5953 GB, free: 9.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.5123, allocations: 15.94 kB / 0.5953 GB, free: 9.254 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.5126, allocations: 101.5 kB / 0.5954 GB, free: 9.129 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.5129, allocations: 0.6965 MB / 0.5961 GB, free: 8.406 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.21e-05/0.513, allocations: 12.17 kB / 0.5961 GB, free: 8.395 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.513, allocations: 11.44 kB / 0.5961 GB, free: 8.383 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.513, allocations: 0 / 0.5961 GB, free: 8.383 MB / 410.7 MB Notification: Performance of Templates: time 0.003355/0.5164, allocations: 1.273 MB / 0.5973 GB, free: 7.113 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches