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.001885/0.001885, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 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.002237/0.002237, allocations: 159.1 kB / 24.49 MB, free: 3.453 MB / 14.72 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.609/1.609, allocations: 177.1 MB / 204.7 MB, free: 8.883 MB / 190.1 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 0.001913/0.001913, allocations: 61.36 kB / 325.5 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1215, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003395/0.1249, allocations: 1.919 MB / 380.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00644/0.1313, allocations: 3.503 MB / 384.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.1315, allocations: 19.75 kB / 384.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005678/0.1321, allocations: 195.1 kB / 384.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.1322, allocations: 43.58 kB / 384.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004663/0.1369, allocations: 1.931 MB / 386.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006805/0.1376, allocations: 0.5065 MB / 387 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1377, allocations: 33.27 kB / 387 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.1379, allocations: 179.4 kB / 387.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.1382, allocations: 167.1 kB / 387.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.112e-05/0.1382, allocations: 27.94 kB / 387.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.1413, allocations: 1.877 MB / 389.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.1415, allocations: 127.5 kB / 389.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.1417, allocations: 131.1 kB / 389.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002396/0.144, allocations: 1.812 MB / 391.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1441, allocations: 0 / 391.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1441, allocations: 0 / 391.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.1441, allocations: 0 / 391.4 MB, free: 3.031 MB / 350.1 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.001671/0.1457, allocations: 0.8391 MB / 392.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1458, allocations: 15.92 kB / 392.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.1459, allocations: 52.61 kB / 392.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.1464, allocations: 295.3 kB / 392.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1464, allocations: 12.66 kB / 392.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/0.1465, allocations: 32.33 kB / 392.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/0.1472, allocations: 0.6099 MB / 393.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1472, allocations: 0 / 393.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.1472, allocations: 12 kB / 393.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1473, allocations: 4 kB / 393.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.1476, allocations: 140.7 kB / 393.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.1487, allocations: 0.5583 MB / 393.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006718/0.1494, allocations: 317.1 kB / 394.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.1496, allocations: 108.7 kB / 394.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1496, allocations: 0 / 394.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1496, allocations: 38.56 kB / 394.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.243e-06/0.1496, allocations: 384 / 394.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007886/0.1504, allocations: 388.1 kB / 394.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003018/0.1507, allocations: 371.8 kB / 395.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005554/0.1513, allocations: 401.8 kB / 395.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.1513, allocations: 41.7 kB / 395.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.1515, allocations: 200.9 kB / 395.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.398e-05/0.1516, allocations: 83.23 kB / 395.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.1517, allocations: 97.67 kB / 395.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002626/0.152, allocations: 362.7 kB / 396.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.1524, allocations: 208.2 kB / 396.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007983/0.1532, allocations: 0.6117 MB / 397.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.1538, allocations: 392.7 kB / 397.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.1538, allocations: 8 kB / 397.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001248/0.1551, allocations: 0.6528 MB / 398.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1551, allocations: 4 kB / 398.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.689e-05/0.1552, allocations: 11.98 kB / 398.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/0.1556, allocations: 130.4 kB / 398.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.1559, allocations: 63.91 kB / 398.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005102/0.161, allocations: 4.176 MB / 402.5 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.1614, allocations: 51.59 kB / 402.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.1614, allocations: 11.98 kB / 402.6 MB, free: 7.012 MB / 366.1 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.0003388/0.1618, allocations: 181.7 kB / 402.7 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.162, allocations: 39.88 kB / 402.8 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.97e-05/0.1621, allocations: 51.84 kB / 402.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1621, allocations: 0 / 402.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1621, allocations: 4 kB / 402.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1621, allocations: 0 / 402.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.1627, allocations: 265 kB / 403.1 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1627, allocations: 3.938 kB / 403.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.163, allocations: 35.98 kB / 403.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.163, allocations: 4 kB / 403.1 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.163, allocations: 11.98 kB / 403.2 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.163, allocations: 0 / 403.2 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.163, allocations: 4 kB / 403.2 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009777/0.164, allocations: 0.5067 MB / 403.7 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.164, allocations: 35.72 kB / 403.7 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.1641, allocations: 11.98 kB / 403.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.1643, allocations: 19.97 kB / 403.7 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.1643, allocations: 7.984 kB / 403.7 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.1643, allocations: 11.98 kB / 403.8 MB, free: 5.773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004398/0.1648, allocations: 271.1 kB / 404 MB, free: 5.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1648, allocations: 0 / 404 MB, free: 5.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002593/0.1674, allocations: 0.6598 MB / 404.7 MB, free: 4.852 MB / 366.1 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.001568/0.1689, allocations: 0.6594 MB / 405.3 MB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.1707, allocations: 0.9288 MB / 406.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1707, allocations: 0 / 406.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.171, allocations: 119.9 kB / 406.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.1717, allocations: 114.5 kB / 406.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.1738, allocations: 0.922 MB / 407.4 MB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1741, allocations: 229.1 kB / 407.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002133/0.1743, allocations: 62.92 kB / 407.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.153e-05/0.1744, allocations: 36.44 kB / 407.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1744, allocations: 0 / 407.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of Templates: time 0.03924/0.2136, allocations: 13.41 MB / 421.1 MB, free: 4.316 MB / 382.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/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.190684949979186]