Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001552, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00168/0.00168, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.39 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1177, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003611/0.1214, allocations: 2.013 MB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00599/0.1274, allocations: 3.711 MB / 364.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/0.1278, allocations: 11.88 kB / 364.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005238/0.1283, allocations: 183.1 kB / 364.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.1285, allocations: 47.52 kB / 364.9 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.1327, allocations: 1.94 MB / 366.8 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005888/0.1333, allocations: 0.4949 MB / 367.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.1334, allocations: 45.06 kB / 367.3 MB, free: 4.848 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.1336, allocations: 175.4 kB / 367.5 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.1339, allocations: 175.1 kB / 367.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.1339, allocations: 24 kB / 367.7 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.1361, allocations: 1.799 MB / 369.5 MB, free: 2.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.1363, allocations: 115.6 kB / 369.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.1364, allocations: 170.9 kB / 369.8 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.1381, allocations: 1.781 MB / 371.6 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1381, allocations: 0 / 371.6 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1382, allocations: 0 / 371.6 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1382, allocations: 0 / 371.6 MB, free: 0.6133 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.1772/0.3154, allocations: 0.8975 MB / 372.5 MB, free: 19.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3154, allocations: 9.406 kB / 372.5 MB, free: 19.42 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.3156, allocations: 47 kB / 372.5 MB, free: 19.4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.316, allocations: 355.9 kB / 372.9 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.3161, allocations: 17.89 kB / 372.9 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.3161, allocations: 28.52 kB / 372.9 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.3166, allocations: 305.3 kB / 373.2 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3166, allocations: 1.25 kB / 373.2 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.3167, allocations: 10.5 kB / 373.2 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3167, allocations: 3.188 kB / 373.2 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.3169, allocations: 148.6 kB / 373.4 MB, free: 19.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.3181, allocations: 0.6679 MB / 374 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.3187, allocations: 323.6 kB / 374.4 MB, free: 18.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.3189, allocations: 109 kB / 374.5 MB, free: 18.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3189, allocations: 8.781 kB / 374.5 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.3189, allocations: 37.5 kB / 374.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.482e-06/0.3189, allocations: 0 / 374.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006704/0.3196, allocations: 380.4 kB / 374.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.3197, allocations: 373.9 kB / 375.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.3201, allocations: 404.7 kB / 375.6 MB, free: 17.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3202, allocations: 37.39 kB / 375.7 MB, free: 17.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3203, allocations: 200.1 kB / 375.9 MB, free: 17.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.3203, allocations: 80.08 kB / 375.9 MB, free: 17.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.3205, allocations: 97.11 kB / 376 MB, free: 17.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.3206, allocations: 360.1 kB / 376.4 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.3209, allocations: 207.6 kB / 376.6 MB, free: 17.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.3213, allocations: 320.2 kB / 376.9 MB, free: 16.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005792/0.3219, allocations: 403.7 kB / 377.3 MB, free: 16.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3219, allocations: 1.219 kB / 377.3 MB, free: 16.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001051/0.323, allocations: 0.6457 MB / 377.9 MB, free: 16.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.323, allocations: 10.22 kB / 378 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/0.3231, allocations: 8.859 kB / 378 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004172/0.3235, allocations: 128.2 kB / 378.1 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.3238, allocations: 64.78 kB / 378.2 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.3263, allocations: 4.547 MB / 382.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.3266, allocations: 52.06 kB / 382.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.3266, allocations: 12.56 kB / 382.8 MB, free: 12.18 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.0001619/0.3268, allocations: 178.4 kB / 382.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.3268, allocations: 38.45 kB / 383 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.685e-05/0.3269, allocations: 44 kB / 383 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3269, allocations: 2.406 kB / 383 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3269, allocations: 7.719 kB / 383 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3269, allocations: 1.312 kB / 383 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.3273, allocations: 350.2 kB / 383.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3273, allocations: 0 / 383.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.3276, allocations: 41.92 kB / 383.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3276, allocations: 5.219 kB / 383.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.3276, allocations: 15.17 kB / 383.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3276, allocations: 1.828 kB / 383.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3276, allocations: 1.719 kB / 383.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/0.3283, allocations: 0.504 MB / 383.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.3283, allocations: 112.6 kB / 384.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.3284, allocations: 16.12 kB / 384.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.3286, allocations: 18.84 kB / 384.1 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.3286, allocations: 17.98 kB / 384.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.3286, allocations: 9.422 kB / 384.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.3289, allocations: 272.6 kB / 384.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3289, allocations: 0 / 384.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001694/0.3306, allocations: 0.6555 MB / 385 MB, free: 11.17 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.001244/0.3319, allocations: 0.6699 MB / 385.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.3331, allocations: 0.9506 MB / 386.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3331, allocations: 1.094 kB / 386.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.3333, allocations: 130.6 kB / 386.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.3339, allocations: 115 kB / 386.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.3351, allocations: 0.9023 MB / 387.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.3354, allocations: 0.8383 MB / 388.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.3356, allocations: 69.91 kB / 388.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.3357, allocations: 28.03 kB / 388.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3357, allocations: 0 / 388.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of Templates: time 0.01872/0.3544, allocations: 12.95 MB / 401.7 MB, free: 2.145 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches