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.001349/0.001349, allocations: 81.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001385/0.001385, allocations: 151.3 kB / 23.94 MB, free: 4.184 MB / 14.72 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 1.549/1.549, allocations: 173.3 MB / 200.4 MB, free: 12.9 MB / 190.1 MB " [Timeout remaining time 178] 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.794e-06/1.794e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.612e-05, allocations: 10.22 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002662/0.002688, allocations: 1.9 MB / 320.8 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005617/0.008305, allocations: 3.46 MB / 324.3 MB, free: 264 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.008517, allocations: 15.91 kB / 324.3 MB, free: 252 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.009021, allocations: 191.1 kB / 324.5 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.009147, allocations: 48.25 kB / 324.5 MB, free: 104 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006694/0.01584, allocations: 2.045 MB / 326.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.01687, allocations: 0.5151 MB / 327.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.01704, allocations: 31.56 kB / 327.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003795/0.01741, allocations: 244.3 kB / 327.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.0177, allocations: 142.5 kB / 327.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.779e-05/0.01777, allocations: 26.66 kB / 327.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003763/0.02153, allocations: 1.855 MB / 329.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.02182, allocations: 126.4 kB / 329.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.02201, allocations: 98.8 kB / 329.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.02538, allocations: 2.086 MB / 331.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.02539, allocations: 1.062 kB / 331.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.02539, allocations: 3.938 kB / 331.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.0254, allocations: 0 / 331.7 MB, free: 12.96 MB / 302.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.001951/0.02735, allocations: 0.8399 MB / 332.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.02739, allocations: 13.12 kB / 332.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.02749, allocations: 48.03 kB / 332.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.02797, allocations: 296.5 kB / 332.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.02798, allocations: 16.91 kB / 332.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.548e-05/0.02805, allocations: 28.62 kB / 332.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006978/0.02875, allocations: 0.5947 MB / 333.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.02876, allocations: 0 / 333.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.02879, allocations: 11.91 kB / 333.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.0288, allocations: 2.594 kB / 333.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.02908, allocations: 144.6 kB / 333.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.03021, allocations: 0.5668 MB / 334.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/0.03086, allocations: 304.8 kB / 334.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.03105, allocations: 111.6 kB / 334.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.03106, allocations: 6.688 kB / 334.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.0311, allocations: 38.69 kB / 334.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.0311, allocations: 112 / 334.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007427/0.03185, allocations: 385.3 kB / 335.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/0.03205, allocations: 372.1 kB / 335.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.03248, allocations: 410.1 kB / 335.8 MB, free: 9.805 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.03253, allocations: 33.42 kB / 335.9 MB, free: 9.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.0327, allocations: 201.4 kB / 336 MB, free: 9.586 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.99e-05/0.03279, allocations: 85.47 kB / 336.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.03294, allocations: 96.2 kB / 336.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.03312, allocations: 359.1 kB / 336.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.03351, allocations: 201.7 kB / 336.8 MB, free: 9.023 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/0.03415, allocations: 0.6182 MB / 337.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.03477, allocations: 400.7 kB / 337.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.03477, allocations: 0 / 337.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001272/0.03604, allocations: 0.6511 MB / 338.4 MB, free: 7.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.671e-05/0.03613, allocations: 8 kB / 338.4 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.03616, allocations: 4 kB / 338.4 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004587/0.03662, allocations: 130.4 kB / 338.6 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.03691, allocations: 63.95 kB / 338.6 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004235/0.04114, allocations: 4.183 MB / 342.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.04147, allocations: 51.64 kB / 342.9 MB, free: 2.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.04151, allocations: 8 kB / 342.9 MB, free: 2.934 MB / 302.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.0002936/0.0418, allocations: 182.6 kB / 343.1 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.04191, allocations: 43.72 kB / 343.1 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.866e-05/0.04199, allocations: 43.84 kB / 343.1 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.042, allocations: 4 kB / 343.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.04201, allocations: 3.984 kB / 343.1 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.04201, allocations: 3.938 kB / 343.2 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.04243, allocations: 257 kB / 343.4 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.04243, allocations: 0 / 343.4 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.04273, allocations: 43.97 kB / 343.4 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.04273, allocations: 0 / 343.4 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.04276, allocations: 15.98 kB / 343.5 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.04276, allocations: 0 / 343.5 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.04277, allocations: 0 / 343.5 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007907/0.04356, allocations: 0.5022 MB / 344 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.04361, allocations: 39.69 kB / 344 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.04367, allocations: 16 kB / 344 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.04384, allocations: 11.98 kB / 344 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.04392, allocations: 19.97 kB / 344 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.04394, allocations: 4 kB / 344.1 MB, free: 1.699 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003026/0.04424, allocations: 275.1 kB / 344.3 MB, free: 1.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.04424, allocations: 0 / 344.3 MB, free: 1.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.003237/0.04748, allocations: 0.652 MB / 345 MB, free: 0.7773 MB / 302.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.002085/0.04956, allocations: 0.8284 MB / 345.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.05121, allocations: 0.9149 MB / 346.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.05121, allocations: 0 / 346.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.05143, allocations: 115.9 kB / 346.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006782/0.05211, allocations: 116.2 kB / 346.9 MB, free: 14.74 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.05365, allocations: 0.855 MB / 347.8 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.05391, allocations: 241 kB / 348 MB, free: 13.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.0541, allocations: 74.89 kB / 348.1 MB, free: 13.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/0.05419, allocations: 28.5 kB / 348.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.05419, allocations: 4 kB / 348.1 MB, free: 13.49 MB / 318.1 MB Notification: Performance of Templates: time 0.0247/0.07889, allocations: 13.32 MB / 361.5 MB, free: 292 kB / 318.1 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: 4.916135895997286]