Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001566/0.001566, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001981/0.001981, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 207.6 MB / 236 MB, free: 10.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.89 kB / 348.4 MB, free: 9.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3379, allocations: 49.16 MB / 397.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003403/0.3413, allocations: 2.007 MB / 399.6 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00629/0.3476, allocations: 3.769 MB / 403.4 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.3479, allocations: 20.31 kB / 403.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005863/0.3484, allocations: 184.5 kB / 403.6 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.3486, allocations: 47.91 kB / 403.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006102/0.3547, allocations: 1.926 MB / 405.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000793/0.3555, allocations: 0.5063 MB / 406.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.3556, allocations: 32.7 kB / 406.1 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.3559, allocations: 186.8 kB / 406.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.3562, allocations: 177.4 kB / 406.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.3563, allocations: 23.38 kB / 406.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003694/0.36, allocations: 1.901 MB / 408.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.3601, allocations: 124.5 kB / 408.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.3603, allocations: 172.3 kB / 408.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.3623, allocations: 1.795 MB / 410.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3623, allocations: 3.938 kB / 410.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3623, allocations: 1.281 kB / 410.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.3624, allocations: 0 / 410.5 MB, free: 2.707 MB / 318.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.001875/0.3642, allocations: 0.8357 MB / 411.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3643, allocations: 13.14 kB / 411.3 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.3644, allocations: 53.98 kB / 411.4 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.3648, allocations: 289.2 kB / 411.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3649, allocations: 17.03 kB / 411.7 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.3649, allocations: 36.62 kB / 411.7 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.3653, allocations: 309.1 kB / 412 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3654, allocations: 0 / 412 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.3654, allocations: 7.812 kB / 412 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.3654, allocations: 6.688 kB / 412 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.3657, allocations: 148.1 kB / 412.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.3668, allocations: 0.6438 MB / 412.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.3674, allocations: 315.9 kB / 413.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.3676, allocations: 99.7 kB / 413.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.3676, allocations: 2.094 kB / 413.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.3677, allocations: 42.45 kB / 413.2 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.3677, allocations: 3.938 kB / 413.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007152/0.3684, allocations: 381.9 kB / 413.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.3685, allocations: 364.2 kB / 414 MB, free: 84 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.369, allocations: 414.8 kB / 414.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.3691, allocations: 33.14 kB / 414.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.3693, allocations: 189.6 kB / 414.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.989e-05/0.3694, allocations: 96.91 kB / 414.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.3695, allocations: 101.1 kB / 414.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000255/0.3698, allocations: 363.2 kB / 415.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.3702, allocations: 201.3 kB / 415.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.3707, allocations: 322.2 kB / 415.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/0.3715, allocations: 396.4 kB / 416 MB, free: 14.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3715, allocations: 0 / 416 MB, free: 14.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001329/0.3728, allocations: 0.6459 MB / 416.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.3728, allocations: 5.844 kB / 416.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/0.3729, allocations: 9.875 kB / 416.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004865/0.3733, allocations: 129.8 kB / 416.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.3736, allocations: 62.98 kB / 416.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004416/0.3781, allocations: 4.254 MB / 421.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.3783, allocations: 47.95 kB / 421.2 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.3784, allocations: 13.28 kB / 421.2 MB, free: 9.988 MB / 334.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.0003293/0.3787, allocations: 172.5 kB / 421.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.3788, allocations: 37.83 kB / 421.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.623e-05/0.3789, allocations: 44.25 kB / 421.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3789, allocations: 2.469 kB / 421.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3789, allocations: 9.094 kB / 421.5 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3789, allocations: 3.984 kB / 421.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.3794, allocations: 319.7 kB / 421.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3794, allocations: 0 / 421.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.3797, allocations: 43.19 kB / 421.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3797, allocations: 1.5 kB / 421.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.3797, allocations: 13.61 kB / 421.8 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3797, allocations: 3.938 kB / 421.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3797, allocations: 0 / 421.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/0.3805, allocations: 0.5102 MB / 422.4 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.3806, allocations: 38.06 kB / 422.4 MB, free: 9.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.3806, allocations: 14.66 kB / 422.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.3808, allocations: 15.02 kB / 422.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.3809, allocations: 16.16 kB / 422.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3809, allocations: 8.797 kB / 422.4 MB, free: 9.094 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003321/0.3812, allocations: 278.6 kB / 422.7 MB, free: 8.922 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3812, allocations: 0 / 422.7 MB, free: 8.922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003204/0.3844, allocations: 0.6509 MB / 423.4 MB, free: 8.855 MB / 334.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.001822/0.3862, allocations: 0.6708 MB / 424 MB, free: 8.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.3879, allocations: 0.9264 MB / 425 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.3879, allocations: 4 kB / 425 MB, free: 7.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.3882, allocations: 115.9 kB / 425.1 MB, free: 7.051 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006309/0.3888, allocations: 105.6 kB / 425.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.3906, allocations: 0.9676 MB / 426.2 MB, free: 5.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006075/0.3912, allocations: 0.8458 MB / 427 MB, free: 5.066 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.3913, allocations: 27.44 kB / 427 MB, free: 5.039 MB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3913, allocations: 0 / 427 MB, free: 5.039 MB / 334.1 MB Notification: Performance of Templates: time 0.02213/0.4134, allocations: 12.08 MB / 439.1 MB, free: 8.941 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.737062835134566]