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.001298/0.001298, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001432/0.001432, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.651/1.651, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.002064/0.002064, allocations: 63.89 kB / 378.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2685, allocations: 53.32 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003117/0.2716, allocations: 2.037 MB / 434.1 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006098/0.2777, allocations: 3.764 MB / 437.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.2778, allocations: 7.938 kB / 437.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000503/0.2783, allocations: 183.1 kB / 438 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.2785, allocations: 55.5 kB / 438.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.2826, allocations: 1.858 MB / 439.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005937/0.2832, allocations: 494.7 kB / 440.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2833, allocations: 33.02 kB / 440.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.2835, allocations: 187.4 kB / 440.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.2837, allocations: 167.2 kB / 440.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.858e-05/0.2838, allocations: 24 kB / 440.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.2863, allocations: 1.819 MB / 442.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.2864, allocations: 123.6 kB / 442.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.2866, allocations: 162.9 kB / 442.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.2885, allocations: 1.792 MB / 444.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2885, allocations: 0 / 444.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2885, allocations: 0 / 444.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.2885, allocations: 0 / 444.7 MB, free: 10.7 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.001557/0.29, allocations: 0.9144 MB / 445.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2901, allocations: 8.031 kB / 445.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.611e-05/0.2902, allocations: 48.61 kB / 445.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.2907, allocations: 354.5 kB / 446 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.2907, allocations: 16.66 kB / 446.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.2907, allocations: 32.33 kB / 446.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.2913, allocations: 311.8 kB / 446.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2913, allocations: 4 kB / 446.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.2913, allocations: 8 kB / 446.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.2913, allocations: 8 kB / 446.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.2916, allocations: 144.7 kB / 446.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.2928, allocations: 0.6758 MB / 447.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006377/0.2935, allocations: 318.4 kB / 447.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.2936, allocations: 100.8 kB / 447.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.2937, allocations: 4 kB / 447.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.2937, allocations: 34.56 kB / 447.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.2937, allocations: 4 kB / 447.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007319/0.2944, allocations: 392.2 kB / 448.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002227/0.2947, allocations: 367.8 kB / 448.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.2951, allocations: 409.8 kB / 448.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.2951, allocations: 37.64 kB / 448.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.2953, allocations: 192.9 kB / 449 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.864e-05/0.2954, allocations: 91.2 kB / 449.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.2955, allocations: 105.7 kB / 449.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.2957, allocations: 362.7 kB / 449.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.296, allocations: 204.2 kB / 449.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.2964, allocations: 314.4 kB / 450.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/0.297, allocations: 401.5 kB / 450.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.297, allocations: 4 kB / 450.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001123/0.2982, allocations: 0.6461 MB / 451.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2982, allocations: 4 kB / 451.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.2982, allocations: 8 kB / 451.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004221/0.2986, allocations: 134.4 kB / 451.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.2989, allocations: 63.89 kB / 451.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/0.3029, allocations: 4.559 MB / 455.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.3031, allocations: 47.84 kB / 456 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.3031, allocations: 12 kB / 456 MB, free: 14.64 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.0002037/0.3033, allocations: 173.7 kB / 456.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.3034, allocations: 43.72 kB / 456.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.089e-05/0.3035, allocations: 47.73 kB / 456.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3035, allocations: 0 / 456.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3035, allocations: 4 kB / 456.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.549e-05/0.3036, allocations: 120.7 kB / 456.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.3036, allocations: 11.98 kB / 456.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.3038, allocations: 15.98 kB / 456.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.3039, allocations: 15.98 kB / 456.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001269/0.3051, allocations: 0.4886 MB / 456.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008454/0.306, allocations: 0.653 MB / 457.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002205/0.3062, allocations: 131.9 kB / 457.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002868/0.3065, allocations: 275.1 kB / 457.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of Backend: time 2.2e-07/0.3065, allocations: 0 / 457.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.3095, allocations: 1.484 MB / 459.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of SimCode: time 0.001691/0.3112, allocations: 1.352 MB / 460.8 MB, free: 9.668 MB / 366.1 MB Notification: Performance of Templates: time 0.02377/0.3349, allocations: 13.43 MB / 474.2 MB, free: 12.27 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_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.9807541240006685]