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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 83.23 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001437/0.001437, allocations: 157.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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=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_trunk_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_trunk_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 325 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.141e-05, allocations: 3.75 kB / 325 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003027/0.003048, allocations: 1.922 MB / 326.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006765/0.009813, allocations: 3.507 MB / 330.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.01013, allocations: 20.28 kB / 330.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006126/0.01074, allocations: 195.2 kB / 330.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.01098, allocations: 51.22 kB / 330.7 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006039/0.01702, allocations: 2.033 MB / 332.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007628/0.01778, allocations: 0.5079 MB / 333.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.01791, allocations: 27.41 kB / 333.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.01829, allocations: 243.9 kB / 333.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.01856, allocations: 141.1 kB / 333.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.321e-05/0.01863, allocations: 22.22 kB / 333.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003478/0.02211, allocations: 1.879 MB / 335.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.0223, allocations: 130.3 kB / 335.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.02245, allocations: 98.3 kB / 335.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003176/0.02563, allocations: 2.1 MB / 337.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.02563, allocations: 0 / 337.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02563, allocations: 0 / 337.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.02565, allocations: 0 / 337.9 MB, free: 8.254 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.001764/0.02741, allocations: 0.8429 MB / 338.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.02744, allocations: 11.97 kB / 338.7 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.02755, allocations: 44.66 kB / 338.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.02805, allocations: 294.5 kB / 339 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.02807, allocations: 20.66 kB / 339.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.02814, allocations: 24.38 kB / 339.1 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.02885, allocations: 0.6095 MB / 339.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.02886, allocations: 192 / 339.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.02889, allocations: 11.94 kB / 339.7 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.02889, allocations: 0 / 339.7 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.02922, allocations: 148.7 kB / 339.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.03039, allocations: 0.5623 MB / 340.4 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007037/0.03109, allocations: 320.3 kB / 340.7 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.03129, allocations: 100.8 kB / 340.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.03131, allocations: 0 / 340.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.03134, allocations: 46.81 kB / 340.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.03134, allocations: 0 / 340.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007908/0.03214, allocations: 385.1 kB / 341.3 MB, free: 4.633 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/0.03236, allocations: 367.8 kB / 341.6 MB, free: 4.188 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.03286, allocations: 409.8 kB / 342 MB, free: 3.785 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.03292, allocations: 37.7 kB / 342 MB, free: 3.742 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.0331, allocations: 196.9 kB / 342.2 MB, free: 3.543 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.264e-05/0.03319, allocations: 87.22 kB / 342.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.03336, allocations: 109.5 kB / 342.4 MB, free: 3.344 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.03354, allocations: 354.8 kB / 342.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.0339, allocations: 208.4 kB / 343 MB, free: 2.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000637/0.03454, allocations: 0.6078 MB / 343.6 MB, free: 2.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/0.03519, allocations: 396.6 kB / 344 MB, free: 1.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.03519, allocations: 0 / 344 MB, free: 1.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001223/0.03641, allocations: 0.6604 MB / 344.6 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.03643, allocations: 4 kB / 344.6 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/0.03646, allocations: 11.98 kB / 344.7 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000472/0.03693, allocations: 126.4 kB / 344.8 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.03724, allocations: 63.89 kB / 344.8 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004128/0.04137, allocations: 4.175 MB / 349 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.04157, allocations: 47.62 kB / 349.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.04161, allocations: 16 kB / 349.1 MB, free: 12.24 MB / 318.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.0002102/0.04182, allocations: 169.8 kB / 349.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.0419, allocations: 55.75 kB / 349.3 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.441e-05/0.04199, allocations: 39.84 kB / 349.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.04199, allocations: 4 kB / 349.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.04199, allocations: 3.938 kB / 349.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.042, allocations: 0 / 349.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.04235, allocations: 257.1 kB / 349.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.04235, allocations: 3.984 kB / 349.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.04265, allocations: 39.92 kB / 349.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.04266, allocations: 0 / 349.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.04269, allocations: 15.98 kB / 349.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.04269, allocations: 0 / 349.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.04269, allocations: 4 kB / 349.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.04346, allocations: 0.5129 MB / 350.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.04351, allocations: 31.72 kB / 350.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.04356, allocations: 15.98 kB / 350.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.04375, allocations: 15.98 kB / 350.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.04381, allocations: 7.984 kB / 350.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.04383, allocations: 8 kB / 350.2 MB, free: 11.01 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003084/0.04413, allocations: 275.1 kB / 350.5 MB, free: 10.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.04413, allocations: 0 / 350.5 MB, free: 10.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001906/0.04604, allocations: 0.6559 MB / 351.2 MB, free: 10.08 MB / 318.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.001611/0.04765, allocations: 0.8034 MB / 352 MB, free: 9.266 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.0491, allocations: 0.918 MB / 352.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.0491, allocations: 0 / 352.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.04932, allocations: 119.9 kB / 353 MB, free: 8.148 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000648/0.04997, allocations: 122.5 kB / 353.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.05146, allocations: 0.8588 MB / 354 MB, free: 7.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.05173, allocations: 229.1 kB / 354.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.05191, allocations: 70.92 kB / 354.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.05199, allocations: 28.5 kB / 354.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.05199, allocations: 0 / 354.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of Templates: time 0.02352/0.07551, allocations: 13.42 MB / 367.7 MB, free: 9.473 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.687018550932407]