Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 84.34 kB / 22 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002199/0.002199, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 60.2 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2166, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003132/0.2197, allocations: 1.882 MB / 350.4 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006154/0.2259, allocations: 3.513 MB / 353.9 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.2261, allocations: 19.75 kB / 353.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005638/0.2267, allocations: 195.1 kB / 354.1 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.2268, allocations: 43.56 kB / 354.1 MB, free: 9.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004742/0.2316, allocations: 1.933 MB / 356.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007367/0.2323, allocations: 0.4988 MB / 356.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.2324, allocations: 33.25 kB / 356.6 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.2326, allocations: 187.3 kB / 356.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.2329, allocations: 171.2 kB / 357 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.2329, allocations: 20 kB / 357 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.2357, allocations: 1.857 MB / 358.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.2358, allocations: 127.5 kB / 359 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.236, allocations: 135.1 kB / 359.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.2379, allocations: 1.803 MB / 360.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.238, allocations: 3.938 kB / 360.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.238, allocations: 0 / 360.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.238, allocations: 0 / 360.9 MB, free: 3.086 MB / 318.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.001525/0.2395, allocations: 0.8468 MB / 361.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2395, allocations: 11.98 kB / 361.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.79e-05/0.2396, allocations: 52.59 kB / 361.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.2401, allocations: 283.4 kB / 362.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.2401, allocations: 20.64 kB / 362.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.484e-05/0.2402, allocations: 28.33 kB / 362.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006454/0.2408, allocations: 0.601 MB / 362.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2408, allocations: 3.938 kB / 362.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.2409, allocations: 8 kB / 362.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.2409, allocations: 8 kB / 362.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.2412, allocations: 151.8 kB / 362.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.2423, allocations: 0.5583 MB / 363.5 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006659/0.2429, allocations: 306.8 kB / 363.8 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.2431, allocations: 116.7 kB / 363.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.2432, allocations: 4 kB / 363.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.2432, allocations: 38.56 kB / 363.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.2432, allocations: 0 / 363.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.000725/0.2439, allocations: 377.1 kB / 364.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/0.2441, allocations: 363.8 kB / 364.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.2445, allocations: 413.8 kB / 365 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.2446, allocations: 33.7 kB / 365.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.2447, allocations: 196.9 kB / 365.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.2448, allocations: 91.23 kB / 365.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.245, allocations: 105.7 kB / 365.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.2451, allocations: 358.7 kB / 365.8 MB, free: 13.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.2455, allocations: 204.4 kB / 366 MB, free: 13.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.2461, allocations: 0.6118 MB / 366.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.2467, allocations: 392.7 kB / 367 MB, free: 12.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2467, allocations: 0 / 367 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001144/0.2478, allocations: 0.6526 MB / 367.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2478, allocations: 8 kB / 367.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/0.2479, allocations: 7.984 kB / 367.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/0.2483, allocations: 130.4 kB / 367.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.2486, allocations: 63.95 kB / 367.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/0.2524, allocations: 4.179 MB / 372 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.2526, allocations: 59.52 kB / 372.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.2526, allocations: 8 kB / 372.1 MB, free: 7.062 MB / 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.0002249/0.2528, allocations: 177.7 kB / 372.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-05/0.2529, allocations: 43.75 kB / 372.3 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.998e-05/0.253, allocations: 43.84 kB / 372.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.253, allocations: 0 / 372.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.253, allocations: 4.094 kB / 372.4 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.253, allocations: 4 kB / 372.4 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.2533, allocations: 253.1 kB / 372.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2533, allocations: 0 / 372.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.2536, allocations: 47.91 kB / 372.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2536, allocations: 0 / 372.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.2537, allocations: 11.98 kB / 372.7 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2537, allocations: 0 / 372.7 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2537, allocations: 0 / 372.7 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007563/0.2544, allocations: 0.5028 MB / 373.2 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.2545, allocations: 43.66 kB / 373.2 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.2545, allocations: 15.98 kB / 373.2 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.2547, allocations: 12 kB / 373.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.2548, allocations: 11.97 kB / 373.3 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2548, allocations: 4 kB / 373.3 MB, free: 5.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003028/0.2551, allocations: 279.1 kB / 373.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2551, allocations: 0 / 373.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001784/0.2569, allocations: 0.652 MB / 374.2 MB, free: 4.922 MB / 334.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.001308/0.2582, allocations: 0.6782 MB / 374.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.2596, allocations: 0.9187 MB / 375.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.2596, allocations: 8 kB / 375.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.2598, allocations: 112.8 kB / 375.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/0.2604, allocations: 122 kB / 376 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.2619, allocations: 0.9151 MB / 376.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.2621, allocations: 237 kB / 377.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.2623, allocations: 70.92 kB / 377.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.2624, allocations: 28.5 kB / 377.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2624, allocations: 3.938 kB / 377.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of Templates: time 0.02381/0.2862, allocations: 13.32 MB / 390.6 MB, free: 4.348 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.825130729936063]