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.00102/0.00102, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001013/0.001013, allocations: 145 kB / 25.59 MB, free: 8.941 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.9558/0.9558, allocations: 173.4 MB / 202.2 MB, free: 8.305 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.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",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.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.574e-05, allocations: 2.312 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002393/0.002418, allocations: 1.953 MB / 271.1 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00462/0.007038, allocations: 3.491 MB / 274.6 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.007234, allocations: 19.75 kB / 274.6 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.007677, allocations: 195 kB / 274.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.157e-05/0.007769, allocations: 39.58 kB / 274.9 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.01132, allocations: 2.055 MB / 276.9 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.01183, allocations: 0.5065 MB / 277.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.01195, allocations: 29.28 kB / 277.5 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.0122, allocations: 247.5 kB / 277.7 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.01237, allocations: 143.6 kB / 277.8 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.0124, allocations: 24 kB / 277.9 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.01427, allocations: 1.854 MB / 279.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.01444, allocations: 127.5 kB / 279.8 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.843e-05/0.01453, allocations: 99.67 kB / 279.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.01662, allocations: 2.029 MB / 282 MB, free: 12.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.01663, allocations: 0 / 282 MB, free: 12.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01663, allocations: 0 / 282 MB, free: 12.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.01663, allocations: 0 / 282 MB, free: 12.99 MB / 266.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.001196/0.01783, allocations: 0.9428 MB / 282.9 MB, free: 12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.01787, allocations: 11.98 kB / 282.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.454e-05/0.01795, allocations: 56.66 kB / 283 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.01825, allocations: 305.3 kB / 283.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.01827, allocations: 12.66 kB / 283.3 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.01832, allocations: 32.12 kB / 283.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.01866, allocations: 0.5713 MB / 283.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.01866, allocations: 0 / 283.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.01868, allocations: 8 kB / 283.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.01868, allocations: 4 kB / 283.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.272e-05/0.01876, allocations: 45.3 kB / 283.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.01941, allocations: 0.5152 MB / 284.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.01967, allocations: 151.2 kB / 284.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.01973, allocations: 41.86 kB / 284.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.01974, allocations: 4 kB / 284.7 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.01976, allocations: 41.38 kB / 284.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.745e-06/0.01977, allocations: 3.984 kB / 284.7 MB, free: 10 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002741/0.02004, allocations: 181.5 kB / 284.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.02016, allocations: 379.8 kB / 285.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.0204, allocations: 430.4 kB / 285.7 MB, free: 8.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.02043, allocations: 33.7 kB / 285.7 MB, free: 8.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.02056, allocations: 255.5 kB / 286 MB, free: 8.633 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.02063, allocations: 91.25 kB / 286 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.02077, allocations: 115.3 kB / 286.2 MB, free: 8.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.02095, allocations: 0.539 MB / 286.7 MB, free: 7.871 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.02106, allocations: 52.56 kB / 286.7 MB, free: 7.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.02135, allocations: 0.5029 MB / 287.2 MB, free: 7.188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.02157, allocations: 159.6 kB / 287.4 MB, free: 7.031 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02157, allocations: 0 / 287.4 MB, free: 7.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005466/0.02212, allocations: 337.2 kB / 287.7 MB, free: 6.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.02214, allocations: 7.938 kB / 287.7 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.02216, allocations: 11.98 kB / 287.8 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002837/0.02244, allocations: 74.98 kB / 287.8 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.02264, allocations: 67.89 kB / 287.9 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002973/0.02562, allocations: 5.172 MB / 293.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.02575, allocations: 43.62 kB / 293.1 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.02578, allocations: 8 kB / 293.1 MB, free: 0.9414 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.0001405/0.02592, allocations: 180.7 kB / 293.3 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.02599, allocations: 55.64 kB / 293.3 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.02605, allocations: 43.84 kB / 293.4 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.02605, allocations: 0 / 293.4 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.02605, allocations: 0 / 293.4 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.02606, allocations: 0 / 293.4 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.0263, allocations: 205 kB / 293.6 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.02631, allocations: 4 kB / 293.6 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.0265, allocations: 39.92 kB / 293.6 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.0265, allocations: 0 / 293.6 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.02652, allocations: 12 kB / 293.6 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.02652, allocations: 3.938 kB / 293.6 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.02653, allocations: 3.984 kB / 293.6 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.02689, allocations: 377.8 kB / 294 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.02693, allocations: 31.7 kB / 294 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.02697, allocations: 19.92 kB / 294.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.02709, allocations: 8 kB / 294.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.02714, allocations: 11.97 kB / 294.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.02715, allocations: 4 kB / 294.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001838/0.02733, allocations: 263 kB / 294.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.02733, allocations: 4 kB / 294.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002295/0.02963, allocations: 0.6441 MB / 295 MB, free: 14.99 MB / 282.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.001665/0.03129, allocations: 0.8167 MB / 295.8 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008689/0.03216, allocations: 0.9012 MB / 296.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.03217, allocations: 0 / 296.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.252e-05/0.03226, allocations: 67.14 kB / 296.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.03272, allocations: 123.8 kB / 296.9 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.03373, allocations: 0.7444 MB / 297.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.712e-05/0.03383, allocations: 128.6 kB / 297.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.03396, allocations: 42.95 kB / 297.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.03423, allocations: 190.1 kB / 298 MB, free: 11.85 MB / 282.7 MB Notification: Performance of SimCode: time 6.12e-07/0.03423, allocations: 0 / 298 MB, free: 11.85 MB / 282.7 MB Notification: Performance of Templates: time 0.02223/0.05646, allocations: 14.7 MB / 312.7 MB, free: 13.27 MB / 298.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.996612516231835]