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.001456/0.001456, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.001388/0.001388, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.419/1.419, allocations: 225.6 MB / 250.8 MB, free: 13.42 MB / 206.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 0.001538/0.001538, allocations: 47.92 kB / 368.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.292, allocations: 52.13 MB / 420.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00345/0.2955, allocations: 2.033 MB / 422.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006468/0.302, allocations: 3.715 MB / 426.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.3021, allocations: 11.88 kB / 426.6 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.3027, allocations: 187 kB / 426.8 MB, free: 9.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.3028, allocations: 47.58 kB / 426.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004268/0.3071, allocations: 1.853 MB / 428.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000577/0.3076, allocations: 0.491 MB / 429.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3078, allocations: 33.08 kB / 429.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.308, allocations: 187.3 kB / 429.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.3082, allocations: 167.2 kB / 429.6 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.3082, allocations: 24 kB / 429.6 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.3103, allocations: 1.811 MB / 431.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.3105, allocations: 119.6 kB / 431.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.3107, allocations: 162.9 kB / 431.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.3125, allocations: 1.784 MB / 433.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3125, allocations: 0 / 433.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3125, allocations: 0 / 433.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.3125, allocations: 0 / 433.5 MB, free: 2.539 MB / 334.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.001658/0.3142, allocations: 0.9221 MB / 434.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3142, allocations: 8.031 kB / 434.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.707e-05/0.3143, allocations: 48.66 kB / 434.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.3148, allocations: 354.5 kB / 434.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.3148, allocations: 20.22 kB / 434.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.3149, allocations: 24 kB / 434.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.3154, allocations: 307.9 kB / 435.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.3154, allocations: 3.984 kB / 435.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.3154, allocations: 4 kB / 435.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3154, allocations: 8 kB / 435.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/0.3157, allocations: 148.7 kB / 435.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.3169, allocations: 0.6679 MB / 435.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.3176, allocations: 325.8 kB / 436.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.3177, allocations: 108.8 kB / 436.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3178, allocations: 0 / 436.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3178, allocations: 38.56 kB / 436.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 9.82e-07/0.3178, allocations: 0 / 436.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007431/0.3185, allocations: 385.4 kB / 436.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002123/0.3188, allocations: 367.8 kB / 437.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.3192, allocations: 413.8 kB / 437.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.3192, allocations: 33.7 kB / 437.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3194, allocations: 196.9 kB / 437.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.286e-05/0.3195, allocations: 91.22 kB / 437.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.3196, allocations: 101.7 kB / 438 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3198, allocations: 354.8 kB / 438.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.3202, allocations: 204.4 kB / 438.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.3206, allocations: 322.4 kB / 438.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005818/0.3212, allocations: 397.6 kB / 439.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3212, allocations: 0 / 439.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001138/0.3223, allocations: 0.6576 MB / 439.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3223, allocations: 4 kB / 439.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.3224, allocations: 7.984 kB / 439.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000451/0.3228, allocations: 130.5 kB / 440 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.3231, allocations: 63.91 kB / 440.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.3271, allocations: 4.554 MB / 444.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.3273, allocations: 47.66 kB / 444.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.3273, allocations: 12.16 kB / 444.7 MB, free: 6.484 MB / 350.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.0002272/0.3275, allocations: 185.7 kB / 444.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.3276, allocations: 39.72 kB / 444.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.577e-05/0.3277, allocations: 51.69 kB / 445 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3277, allocations: 0 / 445 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3277, allocations: 0 / 445 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3277, allocations: 3.984 kB / 445 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.3281, allocations: 349.3 kB / 445.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3281, allocations: 0 / 445.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.3284, allocations: 43.91 kB / 445.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3284, allocations: 3.938 kB / 445.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.3284, allocations: 16 kB / 445.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3284, allocations: 0 / 445.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3284, allocations: 0 / 445.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.3291, allocations: 0.5009 MB / 445.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/0.3292, allocations: 120.7 kB / 446 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.3293, allocations: 16 kB / 446 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.3294, allocations: 7.984 kB / 446 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.3295, allocations: 19.92 kB / 446 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.3295, allocations: 7.984 kB / 446 MB, free: 5.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002979/0.3298, allocations: 271.1 kB / 446.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3298, allocations: 0 / 446.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002202/0.332, allocations: 0.652 MB / 446.9 MB, free: 4.133 MB / 350.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.00149/0.3335, allocations: 0.6781 MB / 447.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.335, allocations: 0.9181 MB / 448.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.335, allocations: 4.047 kB / 448.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.3352, allocations: 119.8 kB / 448.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.3358, allocations: 106.1 kB / 448.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.3374, allocations: 0.9249 MB / 449.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.338, allocations: 0.8419 MB / 450.5 MB, free: 420 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.3382, allocations: 74.86 kB / 450.6 MB, free: 344 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.3383, allocations: 27.44 kB / 450.6 MB, free: 316 kB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3383, allocations: 0 / 450.6 MB, free: 316 kB / 350.1 MB Notification: Performance of Templates: time 0.02276/0.361, allocations: 13 MB / 463.6 MB, free: 3.348 MB / 366.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.963551648892462]