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.00162/0.00162, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001453/0.001453, allocations: 217.4 kB / 23.73 MB, free: 4.164 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.00156/0.00156, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2418, allocations: 53.37 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003802/0.2456, allocations: 1.924 MB / 433.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006674/0.2522, allocations: 3.499 MB / 437 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.2524, allocations: 15.81 kB / 437 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006383/0.2531, allocations: 191.1 kB / 437.2 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.2532, allocations: 51.58 kB / 437.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004752/0.258, allocations: 1.93 MB / 439.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007196/0.2587, allocations: 0.4988 MB / 439.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.2588, allocations: 33.27 kB / 439.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.259, allocations: 183.3 kB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.2593, allocations: 171.2 kB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.2593, allocations: 24 kB / 440.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.2621, allocations: 1.869 MB / 441.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.2622, allocations: 131.5 kB / 442.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.2624, allocations: 135.2 kB / 442.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.2644, allocations: 1.803 MB / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2644, allocations: 4 kB / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2644, allocations: 0 / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2644, allocations: 7.875 kB / 444 MB, free: 10.22 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.001593/0.266, allocations: 0.8429 MB / 444.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.266, allocations: 8.031 kB / 444.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.2661, allocations: 52.61 kB / 444.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.2667, allocations: 283.4 kB / 445.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.2667, allocations: 16.66 kB / 445.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.2668, allocations: 32.31 kB / 445.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006762/0.2674, allocations: 0.6039 MB / 445.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2674, allocations: 3.938 kB / 445.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.2675, allocations: 15.94 kB / 445.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2675, allocations: 4 kB / 445.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.2678, allocations: 144.7 kB / 446 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.269, allocations: 0.5622 MB / 446.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006439/0.2696, allocations: 314.8 kB / 446.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.2698, allocations: 108.7 kB / 447 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.2698, allocations: 4 kB / 447 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.455e-05/0.2699, allocations: 38.56 kB / 447 MB, free: 6.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.2699, allocations: 0 / 447 MB, free: 6.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008089/0.2707, allocations: 380.2 kB / 447.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002386/0.2709, allocations: 367.8 kB / 447.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.2714, allocations: 405.8 kB / 448.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.2714, allocations: 33.7 kB / 448.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.2716, allocations: 200.9 kB / 448.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.837e-05/0.2717, allocations: 91.27 kB / 448.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.2719, allocations: 101.6 kB / 448.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.2721, allocations: 362.7 kB / 448.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.2724, allocations: 204.2 kB / 449.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.2731, allocations: 0.6157 MB / 449.7 MB, free: 4.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/0.2737, allocations: 392.7 kB / 450.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2737, allocations: 0 / 450.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001137/0.2749, allocations: 0.645 MB / 450.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2749, allocations: 18.48 kB / 450.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.2749, allocations: 7.938 kB / 450.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004842/0.2754, allocations: 134.4 kB / 450.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.2757, allocations: 59.97 kB / 451 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.2794, allocations: 4.187 MB / 455.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.2796, allocations: 43.7 kB / 455.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.2797, allocations: 8 kB / 455.2 MB, free: 14.21 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.0002074/0.2799, allocations: 181.7 kB / 455.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.2799, allocations: 43.72 kB / 455.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.046e-05/0.28, allocations: 47.78 kB / 455.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.28, allocations: 8.094 kB / 455.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.28, allocations: 0 / 455.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.28, allocations: 3.984 kB / 455.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.2804, allocations: 265 kB / 455.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2804, allocations: 0 / 455.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.2807, allocations: 43.97 kB / 455.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2807, allocations: 0 / 455.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.2807, allocations: 11.94 kB / 455.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2807, allocations: 0 / 455.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2807, allocations: 4 kB / 455.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/0.2814, allocations: 0.4989 MB / 456.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.2814, allocations: 43.66 kB / 456.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.2815, allocations: 15.98 kB / 456.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.2817, allocations: 11.98 kB / 456.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.2817, allocations: 15.97 kB / 456.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.2817, allocations: 4.109 kB / 456.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.282, allocations: 275.1 kB / 456.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.282, allocations: 4 kB / 456.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001787/0.2838, allocations: 0.648 MB / 457.3 MB, free: 12.05 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.001269/0.2851, allocations: 0.6667 MB / 458 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.2865, allocations: 0.9179 MB / 458.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2865, allocations: 8 kB / 458.9 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.2867, allocations: 117.5 kB / 459 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005957/0.2873, allocations: 117.8 kB / 459.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.2888, allocations: 0.923 MB / 460.1 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.2891, allocations: 237.1 kB / 460.3 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000189/0.2892, allocations: 70.91 kB / 460.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.2893, allocations: 27.44 kB / 460.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2893, allocations: 0 / 460.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of Templates: time 0.02423/0.3135, allocations: 13.72 MB / 474.1 MB, free: 11.22 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/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: 5.0594829842448235]