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.00145/0.00145, allocations: 109.7 kB / 21.93 MB, free: 5.219 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.001644/0.001644, allocations: 213.5 kB / 25.22 MB, free: 3.031 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.442/1.442, allocations: 207.7 MB / 236.1 MB, free: 9.801 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.001865/0.001865, allocations: 53.8 kB / 348.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.285, allocations: 49.16 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002983/0.288, allocations: 1.901 MB / 399.5 MB, free: 8.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005464/0.2935, allocations: 3.494 MB / 403 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.2937, allocations: 20.25 kB / 403 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.2943, allocations: 194.5 kB / 403.2 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.2944, allocations: 45.09 kB / 403.2 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005894/0.3003, allocations: 1.93 MB / 405.2 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007727/0.301, allocations: 0.5027 MB / 405.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3012, allocations: 32.94 kB / 405.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.3014, allocations: 191 kB / 405.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.3016, allocations: 165.7 kB / 406 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.324e-05/0.3017, allocations: 23.38 kB / 406.1 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.3049, allocations: 1.86 MB / 407.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.305, allocations: 131 kB / 408.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.3052, allocations: 129.4 kB / 408.2 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.3068, allocations: 1.798 MB / 410 MB, free: 3.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3068, allocations: 1.25 kB / 410 MB, free: 3.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.3068, allocations: 3.938 kB / 410 MB, free: 3.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.3069, allocations: 0 / 410 MB, free: 3.039 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.001516/0.3084, allocations: 0.8471 MB / 410.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3084, allocations: 13.14 kB / 410.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.554e-05/0.3085, allocations: 51.25 kB / 410.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.3089, allocations: 287.2 kB / 411.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.309, allocations: 16.62 kB / 411.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.309, allocations: 29.02 kB / 411.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005193/0.3095, allocations: 0.6053 MB / 411.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3096, allocations: 3.938 kB / 411.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.3096, allocations: 7.5 kB / 411.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.3096, allocations: 4.125 kB / 411.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.3099, allocations: 151.7 kB / 412 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.311, allocations: 0.5616 MB / 412.6 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.3117, allocations: 309 kB / 412.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.3119, allocations: 111.7 kB / 413 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3119, allocations: 2.406 kB / 413 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3119, allocations: 38.62 kB / 413 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.963e-06/0.3119, allocations: 0 / 413 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007198/0.3126, allocations: 373.9 kB / 413.4 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.3127, allocations: 368.3 kB / 413.7 MB, free: 136 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/0.3133, allocations: 414.3 kB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.3133, allocations: 32.89 kB / 414.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.3135, allocations: 190.5 kB / 414.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/0.3136, allocations: 104.1 kB / 414.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.3138, allocations: 99.05 kB / 414.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.314, allocations: 358.7 kB / 414.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.3144, allocations: 205 kB / 415.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.3151, allocations: 0.6104 MB / 415.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/0.3157, allocations: 389.8 kB / 416.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3157, allocations: 7.938 kB / 416.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001325/0.317, allocations: 0.654 MB / 416.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3171, allocations: 6.062 kB / 416.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.088e-05/0.3171, allocations: 8.453 kB / 416.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004649/0.3176, allocations: 126.5 kB / 416.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.3179, allocations: 64.02 kB / 417 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/0.3221, allocations: 4.179 MB / 421.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.3223, allocations: 56.69 kB / 421.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.3224, allocations: 8.656 kB / 421.2 MB, free: 9.777 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.0002447/0.3226, allocations: 178.2 kB / 421.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.3227, allocations: 45.5 kB / 421.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.16e-05/0.3228, allocations: 47.92 kB / 421.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3228, allocations: 3.312 kB / 421.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3228, allocations: 0 / 421.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3228, allocations: 0 / 421.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.3231, allocations: 254 kB / 421.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3231, allocations: 0 / 421.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.3234, allocations: 42.94 kB / 421.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3234, allocations: 5.062 kB / 421.8 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.3235, allocations: 12.98 kB / 421.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3235, allocations: 9.141 kB / 421.8 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3235, allocations: 3.938 kB / 421.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.3242, allocations: 0.5077 MB / 422.3 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.3243, allocations: 37.75 kB / 422.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.3243, allocations: 13.7 kB / 422.3 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.3245, allocations: 11.47 kB / 422.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.3246, allocations: 12.19 kB / 422.4 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3246, allocations: 4.625 kB / 422.4 MB, free: 8.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003462/0.3249, allocations: 278.8 kB / 422.6 MB, free: 8.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3249, allocations: 0 / 422.6 MB, free: 8.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002625/0.3275, allocations: 0.6527 MB / 423.3 MB, free: 8.633 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.001859/0.3294, allocations: 0.6744 MB / 424 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.331, allocations: 0.9226 MB / 424.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.331, allocations: 0 / 424.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.3312, allocations: 115.9 kB / 425 MB, free: 6.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.3319, allocations: 117.7 kB / 425.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.3336, allocations: 0.9754 MB / 426.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.3339, allocations: 233.1 kB / 426.3 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.334, allocations: 31.44 kB / 426.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.334, allocations: 0 / 426.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of Templates: time 0.02127/0.3552, allocations: 12.19 MB / 438.5 MB, free: 9.203 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.691274431999773]