Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.458e-05/3.719e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003775/0.003812, allocations: 1.909 MB / 269.2 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006977/0.01079, allocations: 3.46 MB / 272.7 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.01095, allocations: 15.81 kB / 272.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005596/0.01151, allocations: 199 kB / 272.9 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.01165, allocations: 39.59 kB / 272.9 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004895/0.01654, allocations: 2.057 MB / 275 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006893/0.01723, allocations: 0.5064 MB / 275.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.01736, allocations: 33.27 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.0177, allocations: 247.5 kB / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.01794, allocations: 135.6 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.516e-05/0.01799, allocations: 24 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.02068, allocations: 1.854 MB / 277.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.02087, allocations: 131.5 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.02101, allocations: 99.67 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003005/0.02401, allocations: 2.111 MB / 280.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.02402, allocations: 0 / 280.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.02402, allocations: 0 / 280.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.02403, allocations: 11.94 kB / 280.1 MB, free: 9.883 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.001688/0.02572, allocations: 0.8273 MB / 281 MB, free: 9.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.02575, allocations: 12.92 kB / 281 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.02589, allocations: 56.66 kB / 281 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/0.02642, allocations: 306.5 kB / 281.3 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.02644, allocations: 16.66 kB / 281.3 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/0.02652, allocations: 36.12 kB / 281.4 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007504/0.02727, allocations: 0.6011 MB / 282 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.02728, allocations: 3.938 kB / 282 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.02731, allocations: 8 kB / 282 MB, free: 7.848 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.02732, allocations: 4 kB / 282 MB, free: 7.844 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.02763, allocations: 144.7 kB / 282.1 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.02882, allocations: 0.57 MB / 282.7 MB, free: 7.102 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/0.02952, allocations: 314.8 kB / 283 MB, free: 6.785 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.02973, allocations: 104.7 kB / 283.1 MB, free: 6.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.02975, allocations: 4 kB / 283.1 MB, free: 6.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.02978, allocations: 34.56 kB / 283.1 MB, free: 6.633 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.02978, allocations: 4 kB / 283.1 MB, free: 6.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0008228/0.0306, allocations: 388.3 kB / 283.5 MB, free: 6.246 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002539/0.03086, allocations: 375.8 kB / 283.9 MB, free: 5.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.03136, allocations: 401.8 kB / 284.3 MB, free: 5.391 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.03141, allocations: 37.7 kB / 284.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.0316, allocations: 200.8 kB / 284.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/0.03168, allocations: 83.28 kB / 284.6 MB, free: 5.062 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.03185, allocations: 101.7 kB / 284.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.03207, allocations: 358.8 kB / 285.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000596/0.03267, allocations: 216.3 kB / 285.3 MB, free: 4.387 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/0.03335, allocations: 0.6115 MB / 285.9 MB, free: 3.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/0.034, allocations: 392.7 kB / 286.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.034, allocations: 0 / 286.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00128/0.03528, allocations: 0.6606 MB / 286.9 MB, free: 2.598 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.0353, allocations: 4 kB / 286.9 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/0.03533, allocations: 11.98 kB / 286.9 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.03588, allocations: 138.4 kB / 287.1 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.03618, allocations: 55.97 kB / 287.1 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1075/0.1437, allocations: 4.187 MB / 291.3 MB, free: 29.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.1439, allocations: 51.77 kB / 291.4 MB, free: 29.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.144, allocations: 12.41 kB / 291.4 MB, free: 29.46 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.0001807/0.1441, allocations: 173.8 kB / 291.5 MB, free: 29.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.55e-05/0.1442, allocations: 52.78 kB / 291.6 MB, free: 29.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.737e-05/0.1443, allocations: 43.27 kB / 291.6 MB, free: 29.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1443, allocations: 2.188 kB / 291.6 MB, free: 29.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1443, allocations: 1.672 kB / 291.6 MB, free: 29.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1443, allocations: 0.7969 kB / 291.6 MB, free: 29.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.1446, allocations: 261.9 kB / 291.9 MB, free: 29.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1446, allocations: 0.6875 kB / 291.9 MB, free: 29.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.1449, allocations: 39.16 kB / 291.9 MB, free: 29.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1449, allocations: 2.312 kB / 291.9 MB, free: 29.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.1449, allocations: 14.5 kB / 292 MB, free: 29.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1449, allocations: 4.969 kB / 292 MB, free: 29.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1449, allocations: 7.906 kB / 292 MB, free: 29.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/0.1456, allocations: 0.503 MB / 292.5 MB, free: 29.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.1456, allocations: 39.55 kB / 292.5 MB, free: 29.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.1456, allocations: 11.66 kB / 292.5 MB, free: 29.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.1458, allocations: 19.42 kB / 292.5 MB, free: 29.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.1459, allocations: 12.38 kB / 292.5 MB, free: 29.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.1459, allocations: 10.64 kB / 292.6 MB, free: 29.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002459/0.1461, allocations: 272.5 kB / 292.8 MB, free: 28.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1461, allocations: 0 / 292.8 MB, free: 28.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001596/0.1477, allocations: 0.6465 MB / 293.5 MB, free: 28.98 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.001387/0.1491, allocations: 0.8148 MB / 294.3 MB, free: 28.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.1502, allocations: 0.9202 MB / 295.2 MB, free: 28.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1502, allocations: 1.031 kB / 295.2 MB, free: 28.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.1504, allocations: 125.4 kB / 295.3 MB, free: 28.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005844/0.151, allocations: 115.3 kB / 295.4 MB, free: 28.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.1524, allocations: 0.8646 MB / 296.3 MB, free: 27.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1527, allocations: 233.4 kB / 296.5 MB, free: 27.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002252/0.1529, allocations: 73.19 kB / 296.6 MB, free: 27.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.153, allocations: 33.03 kB / 296.6 MB, free: 27.68 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.153, allocations: 0 / 296.6 MB, free: 27.68 MB / 266.7 MB Notification: Performance of Templates: time 0.01773/0.1707, allocations: 13.4 MB / 310 MB, free: 19.26 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.718931645038538]