Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008591/0.0008591, allocations: 80.06 kB / 21.43 MB, free: 3.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003072/0.003072, allocations: 142.2 kB / 24.68 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8898/0.8898, allocations: 173.4 MB / 201.2 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.8e-05, allocations: 6.219 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002086/0.002114, allocations: 1.903 MB / 321.6 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003794/0.005907, allocations: 3.456 MB / 325 MB, free: 484 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.006057, allocations: 19.75 kB / 325.1 MB, free: 464 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.006482, allocations: 195 kB / 325.2 MB, free: 268 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.567e-05/0.006568, allocations: 47.58 kB / 325.3 MB, free: 220 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.009878, allocations: 2.042 MB / 327.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004316/0.01031, allocations: 0.5103 MB / 327.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.01043, allocations: 29.27 kB / 327.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.0106, allocations: 239.5 kB / 328.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.01075, allocations: 147.5 kB / 328.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.01078, allocations: 20 kB / 328.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.01241, allocations: 1.857 MB / 330.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.01256, allocations: 123.6 kB / 330.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.01264, allocations: 107.6 kB / 330.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.01412, allocations: 2.089 MB / 332.4 MB, free: 9.066 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.01413, allocations: 0 / 332.4 MB, free: 9.066 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.01413, allocations: 0 / 332.4 MB, free: 9.066 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.01413, allocations: 0 / 332.4 MB, free: 9.066 MB / 298.7 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.0009752/0.01511, allocations: 0.8351 MB / 333.3 MB, free: 8.195 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.01515, allocations: 16.92 kB / 333.3 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.152e-05/0.01522, allocations: 44.66 kB / 333.3 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.01554, allocations: 298.5 kB / 333.6 MB, free: 7.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.01556, allocations: 16.66 kB / 333.6 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.01561, allocations: 28.12 kB / 333.7 MB, free: 7.777 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005525/0.01616, allocations: 0.6011 MB / 334.3 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.01617, allocations: 0 / 334.3 MB, free: 7.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.01619, allocations: 7.984 kB / 334.3 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.0162, allocations: 7.938 kB / 334.3 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.01638, allocations: 152.7 kB / 334.4 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006993/0.01708, allocations: 0.5583 MB / 335 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.0175, allocations: 314.4 kB / 335.3 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.01761, allocations: 109.1 kB / 335.4 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.01763, allocations: 7.984 kB / 335.4 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.01765, allocations: 38.5 kB / 335.5 MB, free: 5.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.01765, allocations: 0 / 335.5 MB, free: 5.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004621/0.01811, allocations: 384.3 kB / 335.8 MB, free: 5.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.01823, allocations: 363.8 kB / 336.2 MB, free: 5.004 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.0185, allocations: 413.8 kB / 336.6 MB, free: 4.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.01852, allocations: 29.7 kB / 336.6 MB, free: 4.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.01863, allocations: 200.9 kB / 336.8 MB, free: 4.355 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.01868, allocations: 83.28 kB / 336.9 MB, free: 4.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-05/0.01877, allocations: 101.7 kB / 337 MB, free: 4.168 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.01886, allocations: 362.7 kB / 337.3 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.01907, allocations: 200.4 kB / 337.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.0194, allocations: 0.6156 MB / 338.2 MB, free: 2.883 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.01976, allocations: 400.5 kB / 338.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01976, allocations: 0 / 338.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006687/0.02043, allocations: 0.6489 MB / 339.2 MB, free: 1.824 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.02044, allocations: 8 kB / 339.2 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.02046, allocations: 4 kB / 339.2 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/0.02074, allocations: 130.5 kB / 339.3 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.02088, allocations: 59.91 kB / 339.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.02316, allocations: 4.187 MB / 343.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.02326, allocations: 43.66 kB / 343.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.02329, allocations: 15.98 kB / 343.6 MB, free: 13.06 MB / 314.7 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.0001367/0.02342, allocations: 182.3 kB / 343.8 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.02346, allocations: 43.72 kB / 343.9 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.0235, allocations: 39.84 kB / 343.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.0235, allocations: 4 kB / 343.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.0235, allocations: 0 / 343.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.02351, allocations: 8.047 kB / 343.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.02371, allocations: 261 kB / 344.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02371, allocations: 0 / 344.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.02386, allocations: 39.97 kB / 344.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.02386, allocations: 0 / 344.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.02387, allocations: 8 kB / 344.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.02388, allocations: 4 kB / 344.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02388, allocations: 3.938 kB / 344.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.02429, allocations: 0.5028 MB / 344.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.02432, allocations: 43.69 kB / 344.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.02434, allocations: 16 kB / 344.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.02443, allocations: 11.98 kB / 344.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.02447, allocations: 19.97 kB / 344.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.02447, allocations: 4 kB / 344.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.02464, allocations: 271.1 kB / 345.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02464, allocations: 0 / 345.1 MB, free: 11.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001292/0.02594, allocations: 0.6521 MB / 345.7 MB, free: 10.9 MB / 314.7 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.0009848/0.02692, allocations: 0.8275 MB / 346.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008087/0.02773, allocations: 0.9139 MB / 347.5 MB, free: 9.082 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.02773, allocations: 4 kB / 347.5 MB, free: 9.078 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.02785, allocations: 119.9 kB / 347.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.02821, allocations: 110.2 kB / 347.7 MB, free: 8.859 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.02931, allocations: 0.8957 MB / 348.6 MB, free: 7.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.02946, allocations: 241 kB / 348.8 MB, free: 7.672 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.02951, allocations: 28.5 kB / 348.9 MB, free: 7.641 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.02951, allocations: 4 kB / 348.9 MB, free: 7.637 MB / 314.7 MB Notification: Performance of Templates: time 0.01114/0.04065, allocations: 12.37 MB / 361.2 MB, free: 11.27 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.6992009449750185]