Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001444/0.001444, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002106/0.002106, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 177 MB / 204.4 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.344e-05, allocations: 2.312 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.004026/0.00406, allocations: 1.924 MB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008588/0.01265, allocations: 3.503 MB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.01289, allocations: 23.75 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007379/0.01363, allocations: 187.1 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001612/0.01379, allocations: 47.52 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006315/0.0201, allocations: 2.054 MB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008063/0.02091, allocations: 0.5142 MB / 280.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.02107, allocations: 33.25 kB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.02143, allocations: 243.5 kB / 280.7 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.02168, allocations: 135.6 kB / 280.8 MB, free: 9.102 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.02174, allocations: 24 kB / 280.9 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/0.02517, allocations: 1.881 MB / 282.7 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.02539, allocations: 131.5 kB / 282.9 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.02556, allocations: 95.62 kB / 283 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00448/0.03004, allocations: 2.123 MB / 285.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.03005, allocations: 0 / 285.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.03005, allocations: 0 / 285.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.03007, allocations: 0 / 285.1 MB, free: 4.844 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.002084/0.03215, allocations: 0.8313 MB / 285.9 MB, free: 3.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.03218, allocations: 12.03 kB / 285.9 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.03233, allocations: 56.66 kB / 286 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.03284, allocations: 310.5 kB / 286.3 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.03286, allocations: 12.66 kB / 286.3 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.03294, allocations: 40.31 kB / 286.3 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000827/0.03377, allocations: 0.5939 MB / 286.9 MB, free: 2.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.03378, allocations: 4.188 kB / 286.9 MB, free: 2.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.03381, allocations: 11.94 kB / 287 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.03381, allocations: 4 kB / 287 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.03412, allocations: 140.7 kB / 287.1 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.03533, allocations: 0.5583 MB / 287.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006851/0.03602, allocations: 325 kB / 288 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.03623, allocations: 104.8 kB / 288.1 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.03626, allocations: 4 kB / 288.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.0363, allocations: 46.48 kB / 288.1 MB, free: 1.586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.042e-06/0.0363, allocations: 0 / 288.1 MB, free: 1.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0009579/0.03726, allocations: 389.5 kB / 288.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003468/0.0376, allocations: 363.8 kB / 288.9 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005674/0.03817, allocations: 409.8 kB / 289.3 MB, free: 360 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.03822, allocations: 33.7 kB / 289.3 MB, free: 320 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.03845, allocations: 204.9 kB / 289.5 MB, free: 108 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.911e-05/0.03855, allocations: 87.28 kB / 289.6 MB, free: 20 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1211/0.1597, allocations: 96.81 kB / 289.7 MB, free: 27.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.1597, allocations: 356.6 kB / 290 MB, free: 27.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.16, allocations: 201.7 kB / 290.2 MB, free: 27.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.1605, allocations: 0.6121 MB / 290.8 MB, free: 26.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.1609, allocations: 397.1 kB / 291.2 MB, free: 26.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1609, allocations: 0 / 291.2 MB, free: 26.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001001/0.1619, allocations: 0.6629 MB / 291.9 MB, free: 26.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.162, allocations: 6.422 kB / 291.9 MB, free: 26.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/0.162, allocations: 10.41 kB / 291.9 MB, free: 26.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004621/0.1625, allocations: 137.2 kB / 292 MB, free: 26.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.1627, allocations: 61.66 kB / 292.1 MB, free: 26.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.1653, allocations: 4.19 MB / 296.3 MB, free: 22.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.1655, allocations: 48.08 kB / 296.3 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.1655, allocations: 9.734 kB / 296.3 MB, free: 22.73 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.0001549/0.1657, allocations: 177.2 kB / 296.5 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.1658, allocations: 48.89 kB / 296.6 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.915e-05/0.1659, allocations: 41.39 kB / 296.6 MB, free: 22.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1659, allocations: 7 kB / 296.6 MB, free: 22.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1659, allocations: 1.688 kB / 296.6 MB, free: 22.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1659, allocations: 2.25 kB / 296.6 MB, free: 22.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.1661, allocations: 258.1 kB / 296.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1661, allocations: 3.594 kB / 296.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.1664, allocations: 41.02 kB / 296.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1664, allocations: 1.094 kB / 296.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.1664, allocations: 11 kB / 296.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1664, allocations: 1.125 kB / 296.9 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1664, allocations: 5.25 kB / 296.9 MB, free: 22.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.167, allocations: 0.5091 MB / 297.4 MB, free: 22.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.167, allocations: 42.48 kB / 297.5 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.1671, allocations: 13.08 kB / 297.5 MB, free: 22.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1673, allocations: 17.62 kB / 297.5 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.1673, allocations: 12.31 kB / 297.5 MB, free: 22.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1673, allocations: 8.812 kB / 297.5 MB, free: 22.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002337/0.1676, allocations: 271.3 kB / 297.8 MB, free: 21.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1676, allocations: 4.953 kB / 297.8 MB, free: 21.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001671/0.1692, allocations: 0.6579 MB / 298.5 MB, free: 21.92 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.001427/0.1707, allocations: 0.7979 MB / 299.3 MB, free: 21.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.1718, allocations: 0.9209 MB / 300.2 MB, free: 21.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1718, allocations: 1.219 kB / 300.2 MB, free: 21.17 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.172, allocations: 116.7 kB / 300.3 MB, free: 21.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.1725, allocations: 117.2 kB / 300.4 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1737, allocations: 0.8695 MB / 301.3 MB, free: 20.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.1739, allocations: 236.2 kB / 301.5 MB, free: 20.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001693/0.1741, allocations: 65.22 kB / 301.6 MB, free: 20.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.1742, allocations: 28.69 kB / 301.6 MB, free: 20.57 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1742, allocations: 1.188 kB / 301.6 MB, free: 20.57 MB / 266.7 MB Notification: Performance of Templates: time 0.01658/0.1907, allocations: 13.47 MB / 315.1 MB, free: 10.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.1192347020842135]