Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 214.8 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 43.92 kB / 378.9 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2709, allocations: 53.38 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003342/0.2743, allocations: 1.913 MB / 434.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006249/0.2805, allocations: 3.507 MB / 437.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.2808, allocations: 19.75 kB / 437.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005472/0.2813, allocations: 195.1 kB / 438 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.2814, allocations: 39.59 kB / 438 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004698/0.2861, allocations: 1.944 MB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007609/0.2869, allocations: 0.5027 MB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2871, allocations: 33.27 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.2873, allocations: 187.4 kB / 440.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.2875, allocations: 171.2 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.2876, allocations: 24 kB / 440.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.2905, allocations: 1.908 MB / 442.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.2907, allocations: 123.5 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.2909, allocations: 139.1 kB / 443 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002312/0.2932, allocations: 1.808 MB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2932, allocations: 0 / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2932, allocations: 0 / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.2932, allocations: 4 kB / 444.8 MB, free: 10.19 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001599/0.2948, allocations: 0.8428 MB / 445.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2948, allocations: 12.03 kB / 445.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.496e-05/0.2949, allocations: 48.61 kB / 445.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.2955, allocations: 295.4 kB / 446 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.2955, allocations: 16.66 kB / 446 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/0.2955, allocations: 32.31 kB / 446.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006713/0.2962, allocations: 0.6096 MB / 446.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2962, allocations: 0 / 446.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.2962, allocations: 4 kB / 446.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2963, allocations: 4 kB / 446.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.2966, allocations: 144.7 kB / 446.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.2977, allocations: 0.5622 MB / 447.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.2983, allocations: 314.4 kB / 447.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.2985, allocations: 108.7 kB / 447.8 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.2985, allocations: 0 / 447.8 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.2986, allocations: 38.94 kB / 447.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.2986, allocations: 4 kB / 447.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007242/0.2993, allocations: 383.9 kB / 448.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002207/0.2995, allocations: 367.8 kB / 448.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.3, allocations: 409.8 kB / 449 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.3, allocations: 29.7 kB / 449 MB, free: 5.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.3002, allocations: 204.9 kB / 449.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.454e-05/0.3002, allocations: 83.28 kB / 449.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.3004, allocations: 97.69 kB / 449.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3006, allocations: 362.7 kB / 449.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.3009, allocations: 212.2 kB / 449.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.3015, allocations: 0.6156 MB / 450.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006313/0.3022, allocations: 392.7 kB / 450.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3022, allocations: 0 / 450.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001151/0.3033, allocations: 0.6528 MB / 451.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3033, allocations: 11.92 kB / 451.6 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/0.3034, allocations: 8 kB / 451.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004524/0.3038, allocations: 126.5 kB / 451.7 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.3041, allocations: 63.91 kB / 451.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003931/0.308, allocations: 4.179 MB / 456 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.3083, allocations: 51.64 kB / 456 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.3083, allocations: 8.281 kB / 456 MB, free: 14.18 MB / 366.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.3085, allocations: 185.7 kB / 456.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.248e-05/0.3086, allocations: 39.72 kB / 456.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.838e-05/0.3087, allocations: 43.84 kB / 456.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3087, allocations: 4 kB / 456.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.3087, allocations: 0 / 456.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3087, allocations: 7.922 kB / 456.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.309, allocations: 257 kB / 456.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.309, allocations: 4 kB / 456.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.3093, allocations: 43.97 kB / 456.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3093, allocations: 0 / 456.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.3093, allocations: 12 kB / 456.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3093, allocations: 0 / 456.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3093, allocations: 0 / 456.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/0.3101, allocations: 0.5067 MB / 457.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.3101, allocations: 35.66 kB / 457.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.3102, allocations: 15.98 kB / 457.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.3103, allocations: 15.98 kB / 457.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.3104, allocations: 20.06 kB / 457.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3104, allocations: 11.94 kB / 457.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.3107, allocations: 275.1 kB / 457.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3107, allocations: 0 / 457.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001863/0.3126, allocations: 0.648 MB / 458.1 MB, free: 12.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001318/0.3139, allocations: 0.6628 MB / 458.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.3154, allocations: 0.9312 MB / 459.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3154, allocations: 0 / 459.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.3156, allocations: 119.9 kB / 459.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.3163, allocations: 122.9 kB / 460 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.3178, allocations: 0.956 MB / 460.9 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.3181, allocations: 241 kB / 461.2 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.969e-05/0.3182, allocations: 27.44 kB / 461.2 MB, free: 8.836 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3182, allocations: 0 / 461.2 MB, free: 8.836 MB / 366.1 MB Notification: Performance of Templates: time 0.01938/0.3375, allocations: 12.26 MB / 473.5 MB, free: 12.58 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.498219746979885]