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.001519/0.001519, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.00179/0.00179, allocations: 205.9 kB / 24.49 MB, free: 4.145 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.437/1.437, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.001685/0.001685, allocations: 47.92 kB / 379 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2939, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00424/0.2981, allocations: 2.049 MB / 434.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006792/0.3049, allocations: 3.76 MB / 438.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.3052, allocations: 19.75 kB / 438.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006257/0.3058, allocations: 187.1 kB / 438.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.3062, allocations: 47.58 kB / 438.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005831/0.312, allocations: 1.941 MB / 440.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008708/0.3129, allocations: 0.5027 MB / 440.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.313, allocations: 33.27 kB / 440.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.3133, allocations: 183.4 kB / 441.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.3136, allocations: 183.1 kB / 441.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.3137, allocations: 20 kB / 441.3 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.3168, allocations: 1.916 MB / 443.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.317, allocations: 127.5 kB / 443.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.3172, allocations: 162.9 kB / 443.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.3198, allocations: 1.804 MB / 445.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3198, allocations: 0 / 445.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3198, allocations: 0 / 445.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.3198, allocations: 3.938 kB / 445.3 MB, free: 9.984 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.002213/0.322, allocations: 0.8429 MB / 446.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3221, allocations: 12.03 kB / 446.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.3222, allocations: 52.59 kB / 446.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.3228, allocations: 295.4 kB / 446.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.3228, allocations: 12.66 kB / 446.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.3228, allocations: 28.33 kB / 446.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.3234, allocations: 311.9 kB / 446.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3234, allocations: 0 / 446.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.3234, allocations: 15.94 kB / 446.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3234, allocations: 4 kB / 446.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.3237, allocations: 140.7 kB / 447 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.325, allocations: 0.6436 MB / 447.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006917/0.3257, allocations: 314.7 kB / 447.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.3259, allocations: 104.8 kB / 448 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3259, allocations: 4 kB / 448.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.326, allocations: 42.56 kB / 448.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.326, allocations: 112 / 448.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007484/0.3267, allocations: 382.8 kB / 448.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002157/0.3269, allocations: 371.8 kB / 448.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.3274, allocations: 401.8 kB / 449.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.331e-05/0.3274, allocations: 37.7 kB / 449.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.3276, allocations: 200.9 kB / 449.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.977e-05/0.3277, allocations: 87.28 kB / 449.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.3279, allocations: 97.62 kB / 449.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.328, allocations: 362.7 kB / 450 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.3284, allocations: 208.2 kB / 450.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.3288, allocations: 318 kB / 450.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/0.3294, allocations: 392.6 kB / 450.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3294, allocations: 3.938 kB / 450.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001167/0.3306, allocations: 0.6489 MB / 451.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3306, allocations: 4 kB / 451.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/0.3306, allocations: 11.98 kB / 451.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004601/0.3311, allocations: 130.4 kB / 451.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.3314, allocations: 63.95 kB / 451.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003937/0.3353, allocations: 4.26 MB / 456 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.3355, allocations: 47.69 kB / 456.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3356, allocations: 8 kB / 456.1 MB, free: 14.52 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.0002227/0.3358, allocations: 177.7 kB / 456.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.3359, allocations: 43.72 kB / 456.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.403e-05/0.3359, allocations: 51.81 kB / 456.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.336, allocations: 8.062 kB / 456.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.336, allocations: 3.938 kB / 456.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.336, allocations: 3.938 kB / 456.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.3364, allocations: 316.4 kB / 456.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3364, allocations: 0 / 456.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.3366, allocations: 39.97 kB / 456.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.3367, allocations: 4 kB / 456.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.3367, allocations: 19.92 kB / 456.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3367, allocations: 3.938 kB / 456.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3367, allocations: 0 / 456.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007316/0.3374, allocations: 0.5008 MB / 457.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.3375, allocations: 39.66 kB / 457.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.3375, allocations: 19.92 kB / 457.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3377, allocations: 12 kB / 457.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.3378, allocations: 11.97 kB / 457.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3378, allocations: 4 kB / 457.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002935/0.3381, allocations: 275.1 kB / 457.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3381, allocations: 4 kB / 457.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002249/0.3403, allocations: 0.6519 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.001738/0.3421, allocations: 0.659 MB / 458.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.3436, allocations: 0.9295 MB / 459.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3436, allocations: 0 / 459.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.3438, allocations: 123.9 kB / 459.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/0.3444, allocations: 117 kB / 460.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.346, allocations: 0.9638 MB / 461 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.3465, allocations: 0.8419 MB / 461.9 MB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.3466, allocations: 31.44 kB / 461.9 MB, free: 8.484 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3466, allocations: 0 / 461.9 MB, free: 8.484 MB / 366.1 MB Notification: Performance of Templates: time 0.02071/0.3673, allocations: 12.13 MB / 474 MB, free: 12.36 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/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_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.316140993032604]