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.001037/0.001037, allocations: 85.95 kB / 23 MB, free: 1.5 MB / 18.57 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.001247/0.001247, allocations: 171.7 kB / 26.39 MB, free: 7.984 MB / 18.57 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.003/1.003, allocations: 158.6 MB / 188.3 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",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.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 252.2 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.776e-05, allocations: 6.25 kB / 252.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.005756/0.005783, allocations: 1.945 MB / 254.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00645/0.01223, allocations: 3.527 MB / 257.7 MB, free: 1.766 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003225/0.01256, allocations: 19.75 kB / 257.7 MB, free: 1.746 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000559/0.01311, allocations: 195 kB / 257.9 MB, free: 1.555 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.01327, allocations: 51.47 kB / 258 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005661/0.01893, allocations: 2.054 MB / 260 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009004/0.01983, allocations: 0.5103 MB / 260.5 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.02002, allocations: 25.28 kB / 260.6 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.02045, allocations: 243.5 kB / 260.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.02073, allocations: 139.6 kB / 260.9 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.02079, allocations: 20 kB / 261 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.02363, allocations: 1.869 MB / 262.8 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.0238, allocations: 127.6 kB / 262.9 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.02391, allocations: 103.6 kB / 263 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00242/0.02633, allocations: 2.022 MB / 265.1 MB, free: 10.4 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.02634, allocations: 4 kB / 265.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.02634, allocations: 0 / 265.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.02635, allocations: 0 / 265.1 MB, free: 10.39 MB / 250.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.001337/0.02768, allocations: 0.935 MB / 266 MB, free: 9.422 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.02773, allocations: 8.031 kB / 266 MB, free: 9.414 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.02784, allocations: 64.61 kB / 266.1 MB, free: 9.352 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.02818, allocations: 285.4 kB / 266.4 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.0282, allocations: 20.66 kB / 266.4 MB, free: 9.023 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.02827, allocations: 36.27 kB / 266.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.02873, allocations: 0.5602 MB / 267 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.02874, allocations: 8.188 kB / 267 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.02877, allocations: 11.94 kB / 267 MB, free: 8.273 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.02878, allocations: 0 / 267 MB, free: 8.273 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.02886, allocations: 51.89 kB / 267 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/0.02963, allocations: 0.5036 MB / 267.6 MB, free: 7.691 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.0299, allocations: 154.9 kB / 267.7 MB, free: 7.527 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.02996, allocations: 39.66 kB / 267.7 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.02997, allocations: 4 kB / 267.7 MB, free: 7.48 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.03, allocations: 45.33 kB / 267.8 MB, free: 7.426 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.03, allocations: 0 / 267.8 MB, free: 7.426 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003056/0.03031, allocations: 193.6 kB / 268 MB, free: 7.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.03043, allocations: 367.8 kB / 268.3 MB, free: 6.785 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.03071, allocations: 434.4 kB / 268.8 MB, free: 6.344 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.03074, allocations: 37.7 kB / 268.8 MB, free: 6.301 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.03089, allocations: 251.5 kB / 269 MB, free: 6.051 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.03095, allocations: 95.25 kB / 269.1 MB, free: 5.957 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.03108, allocations: 111.3 kB / 269.2 MB, free: 5.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.0313, allocations: 0.5351 MB / 269.8 MB, free: 5.293 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.991e-05/0.0314, allocations: 56.45 kB / 269.8 MB, free: 5.238 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.03207, allocations: 0.4954 MB / 270.3 MB, free: 4.609 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.03226, allocations: 159.6 kB / 270.5 MB, free: 4.453 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.03226, allocations: 0 / 270.5 MB, free: 4.453 MB / 250.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004781/0.03274, allocations: 349.3 kB / 270.8 MB, free: 4.09 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.03276, allocations: 4 kB / 270.8 MB, free: 4.086 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.727e-05/0.03278, allocations: 11.98 kB / 270.8 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.03304, allocations: 78.98 kB / 270.9 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.0332, allocations: 67.83 kB / 271 MB, free: 3.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.03574, allocations: 5.171 MB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.03586, allocations: 43.62 kB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.03588, allocations: 11.94 kB / 276.2 MB, free: 14.35 MB / 266.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.0001437/0.03603, allocations: 176.5 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.03608, allocations: 47.7 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.03614, allocations: 47.83 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.03614, allocations: 4.062 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.03615, allocations: 7.938 kB / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.03615, allocations: 0 / 276.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.0364, allocations: 201 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.03641, allocations: 0 / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.03656, allocations: 35.97 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.03656, allocations: 4 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.03658, allocations: 8 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.03658, allocations: 3.984 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.03658, allocations: 0 / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006331/0.03722, allocations: 384 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.03725, allocations: 39.66 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.03728, allocations: 11.98 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.03736, allocations: 8 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.0374, allocations: 23.91 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.0374, allocations: 0 / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001358/0.03754, allocations: 259 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03754, allocations: 0 / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001605/0.03914, allocations: 0.6558 MB / 278.1 MB, free: 12.4 MB / 266.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.001098/0.04024, allocations: 0.8078 MB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006944/0.04094, allocations: 0.8857 MB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.04094, allocations: 4 kB / 279.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.04102, allocations: 71.47 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.04139, allocations: 111.5 kB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008979/0.04229, allocations: 0.7637 MB / 280.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.502e-05/0.04237, allocations: 124.6 kB / 280.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.04249, allocations: 38.95 kB / 280.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.04272, allocations: 202 kB / 281.1 MB, free: 9.242 MB / 266.7 MB Notification: Performance of SimCode: time 1.222e-06/0.04272, allocations: 0 / 281.1 MB, free: 9.242 MB / 266.7 MB Notification: Performance of Templates: time 0.02132/0.06404, allocations: 14.7 MB / 295.8 MB, free: 10.56 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","",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.133997133001685]