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.001321/0.001321, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001481/0.001481, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.432/1.432, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.002015/0.002015, allocations: 67.91 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2759, allocations: 53.31 MB / 432 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003439/0.2794, allocations: 2.033 MB / 434.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006488/0.2859, allocations: 3.772 MB / 437.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003078/0.2862, allocations: 11.88 kB / 437.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.2868, allocations: 183.1 kB / 438 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.2869, allocations: 43.59 kB / 438.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004463/0.2914, allocations: 1.852 MB / 439.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006514/0.292, allocations: 0.491 MB / 440.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2922, allocations: 29.09 kB / 440.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.2924, allocations: 183.4 kB / 440.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.2927, allocations: 175.1 kB / 440.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.076e-05/0.2927, allocations: 24 kB / 440.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002534/0.2952, allocations: 1.815 MB / 442.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.2954, allocations: 123.6 kB / 442.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.2956, allocations: 166.9 kB / 442.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.2976, allocations: 1.796 MB / 444.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2976, allocations: 0 / 444.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2976, allocations: 0 / 444.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.2976, allocations: 0 / 444.7 MB, free: 10.69 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.001828/0.2995, allocations: 0.9144 MB / 445.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.2995, allocations: 11.97 kB / 445.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.2996, allocations: 52.61 kB / 445.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/0.3003, allocations: 354.5 kB / 446 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3003, allocations: 16.66 kB / 446.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.3003, allocations: 28.33 kB / 446.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.3009, allocations: 315.9 kB / 446.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3009, allocations: 0 / 446.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.3009, allocations: 4 kB / 446.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3009, allocations: 8 kB / 446.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.3012, allocations: 144.7 kB / 446.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.3025, allocations: 0.668 MB / 447.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006671/0.3032, allocations: 322.3 kB / 447.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.3034, allocations: 104.8 kB / 447.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.3034, allocations: 0 / 447.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3034, allocations: 38.56 kB / 447.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.042e-06/0.3034, allocations: 384 / 447.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007242/0.3042, allocations: 395.7 kB / 448.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002003/0.3044, allocations: 364 kB / 448.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.3048, allocations: 413.8 kB / 448.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.3048, allocations: 33.7 kB / 448.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.305, allocations: 192.9 kB / 449 MB, free: 6.047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-05/0.3051, allocations: 95.2 kB / 449.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.3053, allocations: 101.7 kB / 449.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.3055, allocations: 362.7 kB / 449.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.3058, allocations: 204.2 kB / 449.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.3063, allocations: 318.3 kB / 450.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/0.3069, allocations: 397.6 kB / 450.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3069, allocations: 0 / 450.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001162/0.308, allocations: 0.65 MB / 451.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.308, allocations: 10.64 kB / 451.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.3081, allocations: 4 kB / 451.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000436/0.3085, allocations: 134.5 kB / 451.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.3088, allocations: 59.91 kB / 451.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.3128, allocations: 4.567 MB / 455.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.3131, allocations: 39.7 kB / 455.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.3131, allocations: 24.08 kB / 456 MB, free: 14.62 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.0002384/0.3133, allocations: 169.8 kB / 456.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.385e-05/0.3134, allocations: 39.72 kB / 456.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.251e-05/0.3135, allocations: 47.75 kB / 456.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3135, allocations: 0 / 456.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3135, allocations: 3.938 kB / 456.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3135, allocations: 3.984 kB / 456.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.3139, allocations: 349.3 kB / 456.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3139, allocations: 3.938 kB / 456.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.3142, allocations: 47.91 kB / 456.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3142, allocations: 0 / 456.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.3142, allocations: 8 kB / 456.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3142, allocations: 7.938 kB / 456.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3143, allocations: 3.984 kB / 456.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000715/0.315, allocations: 0.4995 MB / 457.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.712e-05/0.3151, allocations: 116.8 kB / 457.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.3151, allocations: 15.94 kB / 457.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.3153, allocations: 15.97 kB / 457.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.3153, allocations: 11.98 kB / 457.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3154, allocations: 7.984 kB / 457.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002978/0.3157, allocations: 275.1 kB / 457.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3157, allocations: 0 / 457.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001894/0.3176, allocations: 0.648 MB / 458.2 MB, free: 12.28 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.001496/0.319, allocations: 0.6805 MB / 458.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.3205, allocations: 0.936 MB / 459.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3205, allocations: 4 kB / 459.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.3207, allocations: 115.9 kB / 459.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.3214, allocations: 115.9 kB / 460.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.3229, allocations: 0.9261 MB / 461 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.3234, allocations: 0.8458 MB / 461.8 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.3236, allocations: 62.94 kB / 461.9 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.3236, allocations: 31.42 kB / 461.9 MB, free: 8.438 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3236, allocations: 0 / 461.9 MB, free: 8.438 MB / 366.1 MB Notification: Performance of Templates: time 0.02288/0.3465, allocations: 13.07 MB / 475 MB, free: 11.39 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 4.945492764934897]