Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001253/0.001253, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001475/0.001475, allocations: 166.2 kB / 24.99 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 273 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.729e-05, allocations: 6.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002207/0.002224, allocations: 1.982 MB / 275 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00432/0.006544, allocations: 3.581 MB / 278.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.006702, allocations: 15.81 kB / 278.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004332/0.007135, allocations: 195 kB / 278.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.007223, allocations: 43.58 kB / 278.9 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.01029, allocations: 2.054 MB / 280.9 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.01074, allocations: 0.5025 MB / 281.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.01085, allocations: 45.19 kB / 281.5 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.01106, allocations: 231.5 kB / 281.7 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.0112, allocations: 143.6 kB / 281.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.01123, allocations: 24 kB / 281.9 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.01284, allocations: 1.873 MB / 283.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.013, allocations: 127.5 kB / 283.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.94e-05/0.01309, allocations: 103.7 kB / 284 MB, free: 6.906 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.01475, allocations: 2.037 MB / 286 MB, free: 4.863 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01475, allocations: 0 / 286 MB, free: 4.863 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01475, allocations: 4 kB / 286 MB, free: 4.859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.01476, allocations: 0 / 286 MB, free: 4.859 MB / 266.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.001039/0.0158, allocations: 0.9389 MB / 286.9 MB, free: 3.879 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.01583, allocations: 11.98 kB / 286.9 MB, free: 3.867 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.347e-05/0.01591, allocations: 60.61 kB / 287 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.01638, allocations: 301.4 kB / 287.3 MB, free: 3.484 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.0164, allocations: 20.66 kB / 287.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.01645, allocations: 32.33 kB / 287.4 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.01679, allocations: 0.5718 MB / 287.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.0168, allocations: 192 / 287.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.01682, allocations: 11.94 kB / 287.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.01682, allocations: 4 kB / 287.9 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.01692, allocations: 56.8 kB / 288 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.01759, allocations: 0.5811 MB / 288.6 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.01789, allocations: 155.2 kB / 288.7 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.506e-05/0.01796, allocations: 47.66 kB / 288.8 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.01797, allocations: 4 kB / 288.8 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.01799, allocations: 45.31 kB / 288.8 MB, free: 1.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.01799, allocations: 0 / 288.8 MB, free: 1.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003299/0.01832, allocations: 205.4 kB / 289 MB, free: 1.559 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.01844, allocations: 371.8 kB / 289.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.01874, allocations: 434.7 kB / 289.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.01877, allocations: 37.64 kB / 289.8 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.0189, allocations: 255.6 kB / 290.1 MB, free: 380 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.01911, allocations: 87.23 kB / 290.2 MB, free: 292 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.01921, allocations: 119.3 kB / 290.3 MB, free: 164 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.1213/0.1406, allocations: 0.5274 MB / 290.8 MB, free: 26.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.1409, allocations: 63.64 kB / 290.9 MB, free: 26.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.1411, allocations: 0.5138 MB / 291.4 MB, free: 26.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.1414, allocations: 180.8 kB / 291.6 MB, free: 26.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1414, allocations: 3.375 kB / 291.6 MB, free: 26.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006677/0.1421, allocations: 378.3 kB / 292 MB, free: 26.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.1421, allocations: 12 kB / 292 MB, free: 26.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.1422, allocations: 11.17 kB / 292 MB, free: 26.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002944/0.1425, allocations: 79.91 kB / 292.1 MB, free: 26.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.1426, allocations: 59.19 kB / 292.1 MB, free: 26.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.1446, allocations: 5.246 MB / 297.4 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1447, allocations: 49.08 kB / 297.4 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.1447, allocations: 9.312 kB / 297.4 MB, free: 21 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.0001099/0.1448, allocations: 178.9 kB / 297.6 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.1449, allocations: 52.52 kB / 297.6 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.1449, allocations: 43.81 kB / 297.7 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1449, allocations: 7.625 kB / 297.7 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1449, allocations: 0 / 297.7 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1449, allocations: 2.453 kB / 297.7 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.1451, allocations: 256.7 kB / 297.9 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1452, allocations: 1.844 kB / 297.9 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.1453, allocations: 40.25 kB / 298 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1453, allocations: 3.625 kB / 298 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.1453, allocations: 10.41 kB / 298 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1453, allocations: 1.188 kB / 298 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1453, allocations: 7.75 kB / 298 MB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.1457, allocations: 386.6 kB / 298.4 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.1457, allocations: 34.61 kB / 298.4 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.1457, allocations: 15.11 kB / 298.4 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.1458, allocations: 14.81 kB / 298.4 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.1459, allocations: 15.98 kB / 298.5 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.1459, allocations: 5.297 kB / 298.5 MB, free: 20.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002139/0.1461, allocations: 273.2 kB / 298.7 MB, free: 20.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1461, allocations: 0 / 298.7 MB, free: 20.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001854/0.1479, allocations: 0.6568 MB / 299.4 MB, free: 20.3 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.001344/0.1493, allocations: 0.8058 MB / 300.2 MB, free: 20.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008026/0.1501, allocations: 0.9197 MB / 301.1 MB, free: 19.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1501, allocations: 4.812 kB / 301.1 MB, free: 19.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.1502, allocations: 64.69 kB / 301.2 MB, free: 19.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.1506, allocations: 114 kB / 301.3 MB, free: 19.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1517, allocations: 0.7561 MB / 302.1 MB, free: 18.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.1518, allocations: 134.2 kB / 302.2 MB, free: 18.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.152, allocations: 59.39 kB / 302.2 MB, free: 18.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.152, allocations: 28.94 kB / 302.3 MB, free: 18.9 MB / 266.7 MB Notification: Performance of SimCode: time 1.412e-06/0.152, allocations: 3.812 kB / 302.3 MB, free: 18.9 MB / 266.7 MB Notification: Performance of Templates: time 0.0196/0.1716, allocations: 13.52 MB / 315.8 MB, free: 10.11 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4180418481118977]