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.0008847/0.0008847, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003906/0.003906, allocations: 155.5 kB / 24.7 MB, free: 8.895 MB / 18.57 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 0.8509/0.8509, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.683e-06/1.683e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.407e-05/3.576e-05, allocations: 7.203 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002325/0.00236, allocations: 1.928 MB / 327.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004447/0.006808, allocations: 3.503 MB / 331.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.006985, allocations: 19.75 kB / 331.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.007429, allocations: 191.1 kB / 331.4 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.819e-05/0.007518, allocations: 47.58 kB / 331.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.01118, allocations: 2.048 MB / 333.5 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.01168, allocations: 0.5064 MB / 334 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.01182, allocations: 33.27 kB / 334 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.01202, allocations: 243.5 kB / 334.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.01217, allocations: 139.6 kB / 334.4 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.01221, allocations: 24 kB / 334.4 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.01436, allocations: 1.876 MB / 336.3 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.01454, allocations: 123.6 kB / 336.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.495e-05/0.01462, allocations: 107.6 kB / 336.5 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.0162, allocations: 2.097 MB / 338.6 MB, free: 2.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.01621, allocations: 8 kB / 338.6 MB, free: 2.461 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01621, allocations: 0 / 338.6 MB, free: 2.461 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.01622, allocations: 0 / 338.6 MB, free: 2.461 MB / 298.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.001183/0.0174, allocations: 0.8235 MB / 339.5 MB, free: 1.602 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.01744, allocations: 15.97 kB / 339.5 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.01752, allocations: 52.66 kB / 339.5 MB, free: 1.535 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.01787, allocations: 290.6 kB / 339.8 MB, free: 1.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.01789, allocations: 16.66 kB / 339.8 MB, free: 1.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.304e-05/0.01794, allocations: 24.38 kB / 339.8 MB, free: 1.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.0184, allocations: 0.6049 MB / 340.5 MB, free: 480 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.01841, allocations: 4.125 kB / 340.5 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.01843, allocations: 11.94 kB / 340.5 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.01844, allocations: 4 kB / 340.5 MB, free: 460 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.01863, allocations: 152.7 kB / 340.6 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007729/0.0194, allocations: 0.5583 MB / 341.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.01987, allocations: 315.3 kB / 341.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.01998, allocations: 100.8 kB / 341.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.02, allocations: 11.98 kB / 341.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.02003, allocations: 42.5 kB / 341.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.02003, allocations: 0 / 341.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005044/0.02053, allocations: 388.6 kB / 342 MB, free: 14.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.02068, allocations: 371.8 kB / 342.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.02098, allocations: 401.8 kB / 342.8 MB, free: 14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.021, allocations: 37.7 kB / 342.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.02112, allocations: 196.9 kB / 343 MB, free: 13.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.02117, allocations: 91.22 kB / 343.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003993/0.02157, allocations: 105.5 kB / 343.2 MB, free: 13.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.02168, allocations: 354.8 kB / 343.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.0219, allocations: 208.4 kB / 343.7 MB, free: 13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.02224, allocations: 0.604 MB / 344.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.0226, allocations: 404.6 kB / 344.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.0226, allocations: 4 kB / 344.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007004/0.02331, allocations: 0.6449 MB / 345.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.02333, allocations: 4 kB / 345.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.02335, allocations: 11.98 kB / 345.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003067/0.02366, allocations: 138.4 kB / 345.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.0238, allocations: 59.91 kB / 345.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.02626, allocations: 4.176 MB / 349.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.02639, allocations: 47.66 kB / 349.8 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.02641, allocations: 12 kB / 349.8 MB, free: 6.465 MB / 314.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.0001675/0.02658, allocations: 177.7 kB / 350 MB, free: 6.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.02662, allocations: 43.66 kB / 350.1 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.02666, allocations: 47.84 kB / 350.1 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.02667, allocations: 0 / 350.1 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.02667, allocations: 0 / 350.1 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.02667, allocations: 4.062 kB / 350.1 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.0272, allocations: 257.1 kB / 350.4 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.0272, allocations: 4 kB / 350.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.02735, allocations: 43.86 kB / 350.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.02735, allocations: 4 kB / 350.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.02737, allocations: 15.92 kB / 350.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.02737, allocations: 0 / 350.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.02737, allocations: 0 / 350.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.0278, allocations: 0.5028 MB / 350.9 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.02784, allocations: 35.72 kB / 351 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.02786, allocations: 15.98 kB / 351 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.464e-05/0.02795, allocations: 19.92 kB / 351 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.02799, allocations: 7.984 kB / 351 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.028, allocations: 7.984 kB / 351 MB, free: 5.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.02818, allocations: 275.1 kB / 351.3 MB, free: 4.961 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02818, allocations: 0 / 351.3 MB, free: 4.961 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001537/0.02972, allocations: 0.6559 MB / 351.9 MB, free: 4.305 MB / 314.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.0009319/0.03065, allocations: 0.7956 MB / 352.7 MB, free: 3.496 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000906/0.03155, allocations: 0.9211 MB / 353.7 MB, free: 2.496 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.03156, allocations: 7.938 kB / 353.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.03169, allocations: 115.9 kB / 353.8 MB, free: 2.375 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.03208, allocations: 117.8 kB / 353.9 MB, free: 2.266 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.03314, allocations: 0.8994 MB / 354.8 MB, free: 1.332 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.0333, allocations: 237 kB / 355 MB, free: 1.082 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.03336, allocations: 28.5 kB / 355 MB, free: 1.055 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/0.03336, allocations: 0 / 355 MB, free: 1.055 MB / 314.7 MB Notification: Performance of Templates: time 0.01337/0.04673, allocations: 12.44 MB / 367.5 MB, free: 4.609 MB / 330.7 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: 5.765311541035771]