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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 115.8 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00224/0.002241, allocations: 185.5 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.00122, allocations: 59.84 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.316, allocations: 49.42 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.004008/0.32, allocations: 2.02 MB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006548/0.3266, allocations: 3.663 MB / 407.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.3271, allocations: 11.88 kB / 407.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006835/0.3278, allocations: 183.1 kB / 407.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.3281, allocations: 47.56 kB / 407.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005745/0.3339, allocations: 1.944 MB / 409.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.335, allocations: 498.8 kB / 409.7 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.3352, allocations: 49.06 kB / 409.8 MB, free: 488 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004351/0.3357, allocations: 179.4 kB / 410 MB, free: 308 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.3362, allocations: 175.1 kB / 410.1 MB, free: 132 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.3363, allocations: 24 kB / 410.2 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004121/0.3404, allocations: 1.784 MB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.3407, allocations: 119.6 kB / 412.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.341, allocations: 166.9 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003513/0.3445, allocations: 1.769 MB / 414 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.3446, allocations: 8 kB / 414 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3446, allocations: 0 / 414 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.3446, allocations: 0 / 414 MB, free: 12.26 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.002897/0.3475, allocations: 0.8997 MB / 414.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/0.3476, allocations: 12.03 kB / 414.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.3478, allocations: 48.31 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006248/0.3484, allocations: 346.3 kB / 415.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.3485, allocations: 20.22 kB / 415.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.823e-05/0.3486, allocations: 31.89 kB / 415.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.3492, allocations: 303.1 kB / 415.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3492, allocations: 0 / 415.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.3493, allocations: 8 kB / 415.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.3493, allocations: 4 kB / 415.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.3496, allocations: 148.7 kB / 415.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.3512, allocations: 0.6717 MB / 416.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007335/0.3519, allocations: 322.3 kB / 416.8 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.3521, allocations: 109.2 kB / 416.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.3522, allocations: 0 / 416.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.3522, allocations: 42.5 kB / 416.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.3522, allocations: 0 / 416.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.000828/0.3531, allocations: 384 kB / 417.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002534/0.3533, allocations: 367.8 kB / 417.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.3539, allocations: 409.7 kB / 418.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.3539, allocations: 37.7 kB / 418.1 MB, free: 7.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.3541, allocations: 196.7 kB / 418.3 MB, free: 7.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.627e-05/0.3542, allocations: 82.81 kB / 418.4 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.3544, allocations: 101.7 kB / 418.5 MB, free: 7.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.3546, allocations: 350.8 kB / 418.8 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.355, allocations: 208.4 kB / 419 MB, free: 6.891 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.3555, allocations: 318.3 kB / 419.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006279/0.3561, allocations: 401.6 kB / 419.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3562, allocations: 0 / 419.7 MB, free: 6.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001225/0.3574, allocations: 0.6496 MB / 420.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3574, allocations: 4 kB / 420.4 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.385e-05/0.3575, allocations: 4 kB / 420.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004726/0.3579, allocations: 134.5 kB / 420.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.3582, allocations: 59.91 kB / 420.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.3622, allocations: 4.566 MB / 425.1 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.3624, allocations: 47.41 kB / 425.2 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.3625, allocations: 15.98 kB / 425.2 MB, free: 232 kB / 334.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.0002726/0.3628, allocations: 177.8 kB / 425.4 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3629, allocations: 35.53 kB / 425.4 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.363, allocations: 51.77 kB / 425.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.363, allocations: 0 / 425.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.363, allocations: 0 / 425.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.363, allocations: 3.984 kB / 425.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.3635, allocations: 345.2 kB / 425.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3635, allocations: 4 kB / 425.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.3638, allocations: 43.97 kB / 425.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.3638, allocations: 3.938 kB / 425.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.3639, allocations: 12 kB / 425.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.3639, allocations: 7.984 kB / 425.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3639, allocations: 0 / 425.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.3646, allocations: 0.4986 MB / 426.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.074e-05/0.3647, allocations: 124.5 kB / 426.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.3647, allocations: 12 kB / 426.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.3649, allocations: 11.98 kB / 426.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.365, allocations: 11.98 kB / 426.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.365, allocations: 7.984 kB / 426.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003072/0.3653, allocations: 275.1 kB / 426.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3653, allocations: 0 / 426.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002136/0.3675, allocations: 0.6484 MB / 427.5 MB, free: 13.89 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.002186/0.3697, allocations: 0.6765 MB / 428.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.3713, allocations: 0.9462 MB / 429.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.3713, allocations: 4 kB / 429.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.3716, allocations: 118.7 kB / 429.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/0.3722, allocations: 105 kB / 429.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.3739, allocations: 0.9519 MB / 430.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.3744, allocations: 0.838 MB / 431.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-05/0.3745, allocations: 27.44 kB / 431.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of SimCode: time 1.683e-06/0.3745, allocations: 3.938 kB / 431.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Templates: time 0.0216/0.3961, allocations: 12.07 MB / 443.2 MB, free: 14.01 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches