Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001452/0.001452, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001827/0.001827, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.974/1.974, allocations: 230.6 MB / 258.3 MB, free: 8.043 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Blocks.Examples.Filter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 63.89 kB / 379 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2767, allocations: 53.36 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003678/0.2803, allocations: 2.046 MB / 434.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006738/0.2871, allocations: 3.764 MB / 438.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.2874, allocations: 23.75 kB / 438.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.288, allocations: 183.1 kB / 438.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.2882, allocations: 47.58 kB / 438.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005084/0.2933, allocations: 1.943 MB / 440.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009173/0.2942, allocations: 0.4949 MB / 440.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.2943, allocations: 37.25 kB / 440.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.2947, allocations: 183.4 kB / 441.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.295, allocations: 183.1 kB / 441.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.356e-05/0.2951, allocations: 24 kB / 441.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/0.2982, allocations: 1.912 MB / 443.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.2984, allocations: 127.5 kB / 443.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.2986, allocations: 166.9 kB / 443.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.3008, allocations: 1.804 MB / 445.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3008, allocations: 0 / 445.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3008, allocations: 0 / 445.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.3008, allocations: 0 / 445.3 MB, free: 10.02 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.001671/0.3025, allocations: 0.8467 MB / 446.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3026, allocations: 8.031 kB / 446.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3027, allocations: 56.59 kB / 446.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.3031, allocations: 291.4 kB / 446.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.3032, allocations: 16.66 kB / 446.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.3032, allocations: 40.31 kB / 446.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.3037, allocations: 303.9 kB / 446.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3037, allocations: 0 / 446.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.3038, allocations: 12 kB / 446.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3038, allocations: 4 kB / 446.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.3041, allocations: 144.7 kB / 447 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.3053, allocations: 0.6436 MB / 447.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.3059, allocations: 310.8 kB / 448 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.3061, allocations: 114.6 kB / 448.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3061, allocations: 4 kB / 448.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3062, allocations: 34.56 kB / 448.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/0.3062, allocations: 112 / 448.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007392/0.3069, allocations: 385.1 kB / 448.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002105/0.3071, allocations: 371.8 kB / 448.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/0.3075, allocations: 401.8 kB / 449.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.3076, allocations: 41.7 kB / 449.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3077, allocations: 196.9 kB / 449.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.103e-05/0.3078, allocations: 87.27 kB / 449.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.308, allocations: 93.69 kB / 449.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.3081, allocations: 362.7 kB / 450 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.3085, allocations: 212.1 kB / 450.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.309, allocations: 314 kB / 450.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/0.3096, allocations: 396.6 kB / 450.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3096, allocations: 0 / 450.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001164/0.3107, allocations: 0.6567 MB / 451.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3108, allocations: 4 kB / 451.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/0.3108, allocations: 11.98 kB / 451.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.3112, allocations: 126.4 kB / 451.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.3115, allocations: 59.97 kB / 451.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003827/0.3154, allocations: 4.263 MB / 456 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.3156, allocations: 51.62 kB / 456.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.3156, allocations: 8 kB / 456.1 MB, free: 14.54 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.0002391/0.3159, allocations: 180.8 kB / 456.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.316, allocations: 43.7 kB / 456.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.852e-05/0.316, allocations: 47.84 kB / 456.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.316, allocations: 0 / 456.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.3161, allocations: 3.938 kB / 456.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3161, allocations: 3.938 kB / 456.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.3165, allocations: 316.4 kB / 456.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3165, allocations: 3.984 kB / 456.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.3167, allocations: 39.98 kB / 456.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3167, allocations: 0 / 456.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.3168, allocations: 19.98 kB / 456.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3168, allocations: 7.875 kB / 456.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3168, allocations: 0 / 456.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/0.3175, allocations: 0.4951 MB / 457.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.3175, allocations: 39.66 kB / 457.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.3176, allocations: 19.92 kB / 457.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.3178, allocations: 15.98 kB / 457.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.3178, allocations: 11.98 kB / 457.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.3178, allocations: 4 kB / 457.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002902/0.3181, allocations: 279.1 kB / 457.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3181, allocations: 0 / 457.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001935/0.32, allocations: 0.648 MB / 458.2 MB, free: 12.31 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.001369/0.3214, allocations: 0.659 MB / 458.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.3229, allocations: 0.9334 MB / 459.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3229, allocations: 0 / 459.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.3231, allocations: 115.9 kB / 459.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.3237, allocations: 120.5 kB / 460.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.3253, allocations: 0.9153 MB / 461 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.3257, allocations: 0.8419 MB / 461.8 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.3259, allocations: 70.92 kB / 461.9 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.326, allocations: 27.44 kB / 461.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.326, allocations: 0 / 461.9 MB, free: 8.504 MB / 366.1 MB Notification: Performance of Templates: time 0.02398/0.35, allocations: 13.13 MB / 475 MB, free: 11.41 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.402921926230192]