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.0009329/0.0009329, allocations: 72.08 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.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.0008854/0.0008854, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 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 0.9747/0.9747, allocations: 173.3 MB / 201.5 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",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.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.753e-05, allocations: 6.25 kB / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003951/0.003988, allocations: 1.968 MB / 270 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006784/0.01077, allocations: 3.53 MB / 273.6 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.01107, allocations: 19.75 kB / 273.6 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006113/0.01168, allocations: 187.1 kB / 273.8 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.01183, allocations: 47.56 kB / 273.8 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.01513, allocations: 2.071 MB / 275.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.01558, allocations: 0.5065 MB / 276.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.0157, allocations: 33.25 kB / 276.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.01589, allocations: 239.5 kB / 276.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.01603, allocations: 143.6 kB / 276.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.01606, allocations: 20 kB / 276.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.01746, allocations: 1.854 MB / 278.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.01759, allocations: 131.5 kB / 278.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.035e-05/0.01767, allocations: 95.69 kB / 278.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.01943, allocations: 2.033 MB / 280.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.01943, allocations: 0 / 280.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01943, allocations: 4 kB / 280.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.01944, allocations: 0 / 280.9 MB, free: 9.836 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.001193/0.02063, allocations: 0.935 MB / 281.9 MB, free: 8.859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.02067, allocations: 12.03 kB / 281.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.997e-05/0.02076, allocations: 60.66 kB / 281.9 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.02108, allocations: 301.3 kB / 282.2 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.0211, allocations: 20.64 kB / 282.2 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.097e-05/0.02115, allocations: 32.12 kB / 282.3 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.02153, allocations: 0.5752 MB / 282.9 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.02154, allocations: 0 / 282.9 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.02156, allocations: 8 kB / 282.9 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.02157, allocations: 0 / 282.9 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.02167, allocations: 52.81 kB / 282.9 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007583/0.02243, allocations: 0.5927 MB / 283.5 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.02274, allocations: 159.2 kB / 283.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.694e-05/0.02281, allocations: 47.59 kB / 283.7 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.02282, allocations: 4 kB / 283.7 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.02285, allocations: 37.39 kB / 283.7 MB, free: 6.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.02285, allocations: 8 kB / 283.8 MB, free: 6.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003395/0.02319, allocations: 204.8 kB / 284 MB, free: 6.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.02331, allocations: 367.8 kB / 284.3 MB, free: 6.094 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.0236, allocations: 438.6 kB / 284.7 MB, free: 5.652 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.02363, allocations: 33.7 kB / 284.8 MB, free: 5.613 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.02375, allocations: 243.6 kB / 285 MB, free: 5.367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.0238, allocations: 91.27 kB / 285.1 MB, free: 5.277 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.02391, allocations: 111.3 kB / 285.2 MB, free: 5.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.02405, allocations: 0.5352 MB / 285.7 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.02417, allocations: 68.45 kB / 285.8 MB, free: 4.547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.02444, allocations: 0.5147 MB / 286.3 MB, free: 3.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.02466, allocations: 183.7 kB / 286.5 MB, free: 3.719 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.02466, allocations: 3.938 kB / 286.5 MB, free: 3.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005112/0.02517, allocations: 381.2 kB / 286.9 MB, free: 3.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.02519, allocations: 4 kB / 286.9 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.02521, allocations: 7.984 kB / 286.9 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/0.02548, allocations: 79 kB / 287 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.02563, allocations: 67.89 kB / 287 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1103/0.136, allocations: 5.239 MB / 292.3 MB, free: 28.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.1362, allocations: 48.52 kB / 292.3 MB, free: 28.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.1362, allocations: 16.67 kB / 292.3 MB, free: 28.03 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.0001263/0.1364, allocations: 177.5 kB / 292.5 MB, free: 27.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.1364, allocations: 46.58 kB / 292.6 MB, free: 27.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.335e-05/0.1365, allocations: 43.06 kB / 292.6 MB, free: 27.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1365, allocations: 3.641 kB / 292.6 MB, free: 27.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1365, allocations: 1.188 kB / 292.6 MB, free: 27.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1365, allocations: 1.812 kB / 292.6 MB, free: 27.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.1368, allocations: 264 kB / 292.9 MB, free: 27.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1368, allocations: 1.094 kB / 292.9 MB, free: 27.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.1371, allocations: 42.75 kB / 292.9 MB, free: 27.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1371, allocations: 1.125 kB / 292.9 MB, free: 27.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.1371, allocations: 12.41 kB / 292.9 MB, free: 27.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1371, allocations: 2.297 kB / 292.9 MB, free: 27.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1371, allocations: 3.938 kB / 292.9 MB, free: 27.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.1375, allocations: 383.6 kB / 293.3 MB, free: 27.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.1376, allocations: 38.05 kB / 293.3 MB, free: 27.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.1376, allocations: 13.36 kB / 293.4 MB, free: 27.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1377, allocations: 19.25 kB / 293.4 MB, free: 27.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.1378, allocations: 14.95 kB / 293.4 MB, free: 27.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1378, allocations: 7.109 kB / 293.4 MB, free: 27.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002637/0.138, allocations: 273 kB / 293.7 MB, free: 27.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.138, allocations: 0 / 293.7 MB, free: 27.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001882/0.1399, allocations: 0.6496 MB / 294.3 MB, free: 27.4 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.001278/0.1412, allocations: 0.8066 MB / 295.1 MB, free: 27.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007899/0.142, allocations: 0.9227 MB / 296 MB, free: 26.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.142, allocations: 1.031 kB / 296 MB, free: 26.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.708e-05/0.1421, allocations: 68.53 kB / 296.1 MB, free: 26.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.1425, allocations: 118.9 kB / 296.2 MB, free: 26.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.1436, allocations: 0.7566 MB / 297 MB, free: 26.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.1437, allocations: 130.1 kB / 297.1 MB, free: 26.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.1438, allocations: 61.33 kB / 297.2 MB, free: 26.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.1439, allocations: 28.59 kB / 297.2 MB, free: 26.09 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1439, allocations: 3.562 kB / 297.2 MB, free: 26.09 MB / 266.7 MB Notification: Performance of Templates: time 0.01723/0.1611, allocations: 13.44 MB / 310.6 MB, free: 18.2 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 240] 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","",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.9915914351586252]