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.001386/0.001386, allocations: 75.77 kB / 22.45 MB, free: 2.098 MB / 18.57 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.00108/0.00108, allocations: 158.8 kB / 25.75 MB, free: 8.582 MB / 18.57 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 0.8407/0.8407, allocations: 158.6 MB / 187.5 MB, free: 2.906 MB / 170.7 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.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",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.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 251.1 MB, free: 7.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.609e-05, allocations: 10.19 kB / 251.1 MB, free: 7.91 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002166/0.002192, allocations: 1.971 MB / 253.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004116/0.006308, allocations: 3.581 MB / 256.6 MB, free: 2.332 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.006482, allocations: 19.75 kB / 256.7 MB, free: 2.312 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.006913, allocations: 187.1 kB / 256.8 MB, free: 2.129 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.007017, allocations: 55.5 kB / 256.9 MB, free: 2.074 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003287/0.0103, allocations: 2.047 MB / 258.9 MB, free: 24 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.01074, allocations: 0.5105 MB / 259.4 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.01086, allocations: 25.28 kB / 259.5 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.01105, allocations: 247.4 kB / 259.7 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.01119, allocations: 135.6 kB / 259.8 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.01122, allocations: 28 kB / 259.9 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.01281, allocations: 1.854 MB / 261.7 MB, free: 13.22 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.01296, allocations: 131.5 kB / 261.9 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.809e-05/0.01304, allocations: 99.61 kB / 262 MB, free: 13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.01466, allocations: 2.033 MB / 264 MB, free: 10.96 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.01467, allocations: 0 / 264 MB, free: 10.96 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01467, allocations: 0 / 264 MB, free: 10.96 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.01467, allocations: 0 / 264 MB, free: 10.96 MB / 250.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.001358/0.01603, allocations: 0.9351 MB / 264.9 MB, free: 9.984 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.01607, allocations: 8.031 kB / 264.9 MB, free: 9.977 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/0.01616, allocations: 64.61 kB / 265 MB, free: 9.914 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.01647, allocations: 289.5 kB / 265.3 MB, free: 9.602 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.01648, allocations: 16.66 kB / 265.3 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.01653, allocations: 36.33 kB / 265.3 MB, free: 9.551 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.0169, allocations: 0.5719 MB / 265.9 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.01691, allocations: 192 / 265.9 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.01692, allocations: 11.92 kB / 265.9 MB, free: 8.832 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.01693, allocations: 4 kB / 265.9 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.01704, allocations: 55.91 kB / 266 MB, free: 8.773 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007502/0.01779, allocations: 0.5928 MB / 266.6 MB, free: 8.145 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.01812, allocations: 162.5 kB / 266.7 MB, free: 7.977 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.01818, allocations: 39.67 kB / 266.8 MB, free: 7.934 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.0182, allocations: 4.094 kB / 266.8 MB, free: 7.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.01822, allocations: 49.27 kB / 266.8 MB, free: 7.871 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.223e-06/0.01822, allocations: 0 / 266.8 MB, free: 7.871 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003364/0.01856, allocations: 209.5 kB / 267 MB, free: 7.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.01866, allocations: 367.8 kB / 267.4 MB, free: 7.215 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.01893, allocations: 438.6 kB / 267.8 MB, free: 6.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.01895, allocations: 37.7 kB / 267.8 MB, free: 6.727 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.01907, allocations: 243.6 kB / 268.1 MB, free: 6.484 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.01912, allocations: 91.27 kB / 268.2 MB, free: 6.395 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.01923, allocations: 111.3 kB / 268.3 MB, free: 6.277 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.01936, allocations: 0.5274 MB / 268.8 MB, free: 5.738 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.01949, allocations: 72.45 kB / 268.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.01975, allocations: 0.511 MB / 269.4 MB, free: 5.023 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.01997, allocations: 191.5 kB / 269.6 MB, free: 4.836 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01998, allocations: 0 / 269.6 MB, free: 4.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004995/0.02048, allocations: 373.4 kB / 269.9 MB, free: 4.449 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.02049, allocations: 8 kB / 269.9 MB, free: 4.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.02051, allocations: 12 kB / 270 MB, free: 4.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.02077, allocations: 82.92 kB / 270 MB, free: 4.336 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.02092, allocations: 63.89 kB / 270.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.02331, allocations: 5.251 MB / 275.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.724e-05/0.02341, allocations: 39.67 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.02343, allocations: 12 kB / 275.4 MB, free: 14.6 MB / 266.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.0001108/0.02354, allocations: 180.6 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.02359, allocations: 55.66 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.02363, allocations: 51.77 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.02363, allocations: 4 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.02364, allocations: 0 / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.02364, allocations: 0 / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.02385, allocations: 256.4 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.02385, allocations: 3.938 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.024, allocations: 43.92 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.02401, allocations: 0 / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.02403, allocations: 15.98 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.02403, allocations: 0 / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.02403, allocations: 8 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.02432, allocations: 384.1 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.02435, allocations: 35.66 kB / 276.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.02438, allocations: 16 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.02446, allocations: 11.98 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.0245, allocations: 11.97 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.0245, allocations: 4 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001561/0.02466, allocations: 275.1 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02466, allocations: 0 / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001354/0.02601, allocations: 0.652 MB / 277.4 MB, free: 12.56 MB / 266.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.001142/0.02716, allocations: 0.8108 MB / 278.2 MB, free: 11.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.02816, allocations: 0.9248 MB / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.02817, allocations: 0 / 279.1 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/0.02825, allocations: 75.52 kB / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.02861, allocations: 112.9 kB / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008912/0.0295, allocations: 0.7753 MB / 280.1 MB, free: 9.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.807e-05/0.02958, allocations: 128.6 kB / 280.2 MB, free: 9.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000112/0.02969, allocations: 54.92 kB / 280.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.02975, allocations: 28.5 kB / 280.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.02975, allocations: 0 / 280.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of Templates: time 0.01581/0.04556, allocations: 13.41 MB / 293.7 MB, free: 12.12 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.872371730161831]