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.01035/0.01035, allocations: 105.4 kB / 21.98 MB, free: 5.223 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.002438/0.002438, allocations: 214.3 kB / 25.29 MB, free: 3.203 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.774/1.774, allocations: 230.6 MB / 259 MB, free: 8.023 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.002017/0.002017, allocations: 68.55 kB / 379.8 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3346, allocations: 53.36 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003443/0.3381, allocations: 2.04 MB / 435.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006464/0.3446, allocations: 3.772 MB / 439 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.3447, allocations: 19.75 kB / 439 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005783/0.3453, allocations: 191.1 kB / 439.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.3454, allocations: 43.56 kB / 439.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004549/0.35, allocations: 1.936 MB / 441.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006812/0.3507, allocations: 0.4988 MB / 441.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3508, allocations: 29.27 kB / 441.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.351, allocations: 191.4 kB / 441.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.3513, allocations: 175.1 kB / 442 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.3513, allocations: 24 kB / 442.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.3541, allocations: 1.922 MB / 444 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.3543, allocations: 127.5 kB / 444.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.3545, allocations: 166.9 kB / 444.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.3565, allocations: 1.804 MB / 446.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3565, allocations: 0 / 446.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3565, allocations: 4 kB / 446.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3565, allocations: 0 / 446.1 MB, free: 10.01 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.001646/0.3581, allocations: 0.8467 MB / 446.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3582, allocations: 8.031 kB / 446.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.3583, allocations: 52.61 kB / 447 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.3588, allocations: 283.4 kB / 447.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.3588, allocations: 16.66 kB / 447.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.31e-05/0.3589, allocations: 28.33 kB / 447.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004875/0.3593, allocations: 315.9 kB / 447.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3593, allocations: 0 / 447.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.3594, allocations: 8 kB / 447.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3594, allocations: 0 / 447.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.3597, allocations: 152.7 kB / 447.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.3609, allocations: 0.6396 MB / 448.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.3616, allocations: 318.4 kB / 448.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.3618, allocations: 105.2 kB / 448.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3618, allocations: 3.938 kB / 448.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.3619, allocations: 46.5 kB / 448.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.3619, allocations: 112 / 448.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007455/0.3626, allocations: 383.2 kB / 449.3 MB, free: 6.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002315/0.3629, allocations: 367.8 kB / 449.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004676/0.3633, allocations: 409.8 kB / 450 MB, free: 5.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.3634, allocations: 33.7 kB / 450 MB, free: 5.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.3635, allocations: 196.9 kB / 450.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/0.3636, allocations: 91.27 kB / 450.3 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.3638, allocations: 101.7 kB / 450.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3639, allocations: 354.7 kB / 450.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.3643, allocations: 208.2 kB / 451 MB, free: 4.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.3648, allocations: 321.9 kB / 451.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006395/0.3654, allocations: 396.6 kB / 451.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3654, allocations: 0 / 451.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00126/0.3667, allocations: 0.645 MB / 452.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3667, allocations: 7.984 kB / 452.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.3667, allocations: 4 kB / 452.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004508/0.3672, allocations: 130.5 kB / 452.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.3674, allocations: 63.91 kB / 452.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/0.3715, allocations: 4.26 MB / 456.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.3717, allocations: 47.66 kB / 456.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.3717, allocations: 12 kB / 456.8 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.0002314/0.372, allocations: 177.7 kB / 457 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.372, allocations: 43.7 kB / 457.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.455e-05/0.3721, allocations: 43.84 kB / 457.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3721, allocations: 8.062 kB / 457.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3721, allocations: 3.938 kB / 457.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3721, allocations: 3.938 kB / 457.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.3726, allocations: 320.4 kB / 457.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3726, allocations: 0 / 457.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.3728, allocations: 47.97 kB / 457.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3728, allocations: 0 / 457.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.3729, allocations: 8 kB / 457.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.3729, allocations: 7.938 kB / 457.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3729, allocations: 0 / 457.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007308/0.3736, allocations: 0.5056 MB / 458 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.3737, allocations: 39.66 kB / 458 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.3737, allocations: 19.92 kB / 458.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.3739, allocations: 11.98 kB / 458.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.3739, allocations: 15.97 kB / 458.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3739, allocations: 8 kB / 458.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003031/0.3743, allocations: 271.1 kB / 458.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3743, allocations: 4 kB / 458.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002031/0.3763, allocations: 0.6559 MB / 459 MB, free: 12.3 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.001316/0.3776, allocations: 0.6551 MB / 459.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.3791, allocations: 0.9295 MB / 460.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.3791, allocations: 4 kB / 460.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.3793, allocations: 115.9 kB / 460.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.3799, allocations: 116 kB / 460.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.3815, allocations: 0.96 MB / 461.8 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.382, allocations: 0.8419 MB / 462.6 MB, free: 8.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.685e-05/0.3821, allocations: 27.44 kB / 462.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3821, allocations: 0 / 462.7 MB, free: 8.508 MB / 366.1 MB Notification: Performance of Templates: time 0.02085/0.4029, allocations: 12.14 MB / 474.8 MB, free: 12.37 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/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-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: 9.928120441967621]