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.0007766/0.0007766, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0007535/0.0007535, allocations: 161 kB / 25.45 MB, free: 9.348 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.8543/0.8543, allocations: 158.6 MB / 187.2 MB, free: 3.035 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.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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 299.7 MB, free: 7.027 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.699e-05, allocations: 5.656 kB / 299.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002298/0.002325, allocations: 1.905 MB / 301.6 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004474/0.006799, allocations: 3.492 MB / 305.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.007038, allocations: 15.81 kB / 305.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004932/0.007532, allocations: 199 kB / 305.3 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.007643, allocations: 47.52 kB / 305.3 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00378/0.01142, allocations: 2.043 MB / 307.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005625/0.01199, allocations: 0.5103 MB / 307.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.01213, allocations: 37.25 kB / 307.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.01247, allocations: 235.5 kB / 308.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.01269, allocations: 139.6 kB / 308.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.01273, allocations: 24 kB / 308.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.01467, allocations: 1.854 MB / 310.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.01485, allocations: 127.5 kB / 310.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.521e-05/0.01494, allocations: 103.7 kB / 310.4 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.01684, allocations: 2.085 MB / 312.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.01685, allocations: 4 kB / 312.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.01685, allocations: 3.938 kB / 312.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.01686, allocations: 0 / 312.5 MB, free: 10.16 MB / 298.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.001382/0.01824, allocations: 0.8351 MB / 313.3 MB, free: 9.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.01828, allocations: 8.031 kB / 313.3 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.01836, allocations: 48.61 kB / 313.4 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.01869, allocations: 298.6 kB / 313.7 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.01871, allocations: 12.66 kB / 313.7 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.01875, allocations: 28.33 kB / 313.7 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/0.01918, allocations: 0.6056 MB / 314.3 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.01919, allocations: 192 / 314.3 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.01921, allocations: 19.88 kB / 314.3 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.01922, allocations: 0 / 314.3 MB, free: 8.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.01941, allocations: 143.8 kB / 314.5 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007949/0.0202, allocations: 0.5622 MB / 315 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.02065, allocations: 310.8 kB / 315.3 MB, free: 7.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.02076, allocations: 112.8 kB / 315.4 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.02078, allocations: 0 / 315.4 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.0208, allocations: 42.5 kB / 315.5 MB, free: 6.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.0208, allocations: 0 / 315.5 MB, free: 6.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.000481/0.02128, allocations: 373.2 kB / 315.9 MB, free: 6.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.0214, allocations: 372 kB / 316.2 MB, free: 6.105 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.02169, allocations: 413.7 kB / 316.6 MB, free: 5.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.02171, allocations: 37.7 kB / 316.7 MB, free: 5.656 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.02182, allocations: 192.9 kB / 316.8 MB, free: 5.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.02187, allocations: 91.23 kB / 316.9 MB, free: 5.371 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/0.02196, allocations: 105.5 kB / 317 MB, free: 5.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.02206, allocations: 354.8 kB / 317.4 MB, free: 4.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.02228, allocations: 204.4 kB / 317.6 MB, free: 4.707 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.02263, allocations: 0.6157 MB / 318.2 MB, free: 3.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.02301, allocations: 392.6 kB / 318.6 MB, free: 3.598 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.02301, allocations: 0 / 318.6 MB, free: 3.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007212/0.02373, allocations: 0.6569 MB / 319.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.02375, allocations: 10.81 kB / 319.3 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.02377, allocations: 4 kB / 319.3 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002858/0.02406, allocations: 134.3 kB / 319.4 MB, free: 2.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.0242, allocations: 63.95 kB / 319.5 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.02663, allocations: 4.172 MB / 323.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.02675, allocations: 55.62 kB / 323.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.02677, allocations: 12 kB / 323.7 MB, free: 14.16 MB / 314.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.0001497/0.02692, allocations: 173.8 kB / 323.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.02697, allocations: 39.7 kB / 323.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.02701, allocations: 43.84 kB / 323.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.02702, allocations: 8.094 kB / 323.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.02702, allocations: 4 kB / 324 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.02703, allocations: 3.984 kB / 324 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.02725, allocations: 253.1 kB / 324.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02725, allocations: 0 / 324.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.02741, allocations: 51.84 kB / 324.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.02741, allocations: 0 / 324.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.02743, allocations: 15.94 kB / 324.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.02744, allocations: 0 / 324.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.02744, allocations: 3.984 kB / 324.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.02788, allocations: 0.4997 MB / 324.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.02791, allocations: 39.64 kB / 324.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.02794, allocations: 16 kB / 324.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.411e-05/0.02802, allocations: 11.98 kB / 324.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.02806, allocations: 15.97 kB / 324.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.02807, allocations: 4 kB / 324.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001855/0.02826, allocations: 271.1 kB / 325.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02826, allocations: 0 / 325.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001459/0.02972, allocations: 0.6481 MB / 325.8 MB, free: 12.02 MB / 314.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.001062/0.03078, allocations: 0.8147 MB / 326.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008624/0.03164, allocations: 0.9378 MB / 327.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.03165, allocations: 0 / 327.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.03177, allocations: 119.9 kB / 327.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.03213, allocations: 113.7 kB / 327.8 MB, free: 9.953 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009976/0.03313, allocations: 0.8918 MB / 328.6 MB, free: 9.027 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.03329, allocations: 237 kB / 328.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.03334, allocations: 32.5 kB / 328.9 MB, free: 8.746 MB / 314.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03334, allocations: 0 / 328.9 MB, free: 8.746 MB / 314.7 MB Notification: Performance of Templates: time 0.01242/0.04577, allocations: 12.37 MB / 341.3 MB, free: 12.36 MB / 330.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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/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: 5.560027310624719]