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.001644/0.001644, allocations: 113.8 kB / 19.18 MB, free: 3.762 MB / 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.001919/0.001919, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.528/1.528, allocations: 230.2 MB / 255.2 MB, free: 15.38 MB / 206.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.001859/0.001859, allocations: 64.12 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1159, allocations: 53.32 MB / 427.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003527/0.1194, allocations: 2.025 MB / 429.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006588/0.126, allocations: 3.744 MB / 433.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.1263, allocations: 7.938 kB / 433.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.1268, allocations: 191.1 kB / 433.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.127, allocations: 55.47 kB / 433.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004971/0.132, allocations: 1.933 MB / 435.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007345/0.1327, allocations: 0.4949 MB / 436.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1328, allocations: 33.08 kB / 436.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.1331, allocations: 183.3 kB / 436.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.1333, allocations: 179.1 kB / 436.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.1334, allocations: 20 kB / 436.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.1361, allocations: 1.815 MB / 438.5 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.1363, allocations: 123.6 kB / 438.6 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.1365, allocations: 162.9 kB / 438.8 MB, free: 9.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.1387, allocations: 1.792 MB / 440.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1387, allocations: 0 / 440.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1387, allocations: 0 / 440.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1387, allocations: 0 / 440.6 MB, free: 7.746 MB / 366.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.001662/0.1404, allocations: 0.9144 MB / 441.5 MB, free: 6.777 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1404, allocations: 12.03 kB / 441.5 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.1405, allocations: 48.61 kB / 441.5 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.141, allocations: 362.5 kB / 441.9 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.141, allocations: 12.66 kB / 441.9 MB, free: 6.312 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.1411, allocations: 28.33 kB / 441.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.1416, allocations: 318.9 kB / 442.2 MB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1416, allocations: 0 / 442.2 MB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.1417, allocations: 12 kB / 442.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1417, allocations: 8 kB / 442.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.142, allocations: 140.7 kB / 442.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.1433, allocations: 0.6641 MB / 443.1 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.144, allocations: 322.3 kB / 443.4 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.1442, allocations: 108.8 kB / 443.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1442, allocations: 4 kB / 443.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.1442, allocations: 34.56 kB / 443.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.1442, allocations: 0 / 443.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007723/0.145, allocations: 396.1 kB / 443.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003294/0.1453, allocations: 367.8 kB / 444.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/0.1459, allocations: 405.8 kB / 444.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.1459, allocations: 37.7 kB / 444.7 MB, free: 3.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.1461, allocations: 196.9 kB / 444.9 MB, free: 3.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.155e-05/0.1462, allocations: 83.28 kB / 445 MB, free: 3.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.1463, allocations: 97.67 kB / 445.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.1466, allocations: 362.7 kB / 445.4 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.1469, allocations: 208.2 kB / 445.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/0.1475, allocations: 322.4 kB / 445.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006236/0.1481, allocations: 397.5 kB / 446.3 MB, free: 1.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1481, allocations: 0 / 446.3 MB, free: 1.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001201/0.1493, allocations: 0.6539 MB / 447 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1493, allocations: 7.984 kB / 447 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/0.1493, allocations: 8 kB / 447 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.1498, allocations: 126.5 kB / 447.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.1501, allocations: 67.91 kB / 447.2 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2015/0.3516, allocations: 4.538 MB / 451.7 MB, free: 19.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.3519, allocations: 51.11 kB / 451.8 MB, free: 19.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.3519, allocations: 11.09 kB / 451.8 MB, free: 19.83 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.000199/0.3521, allocations: 182 kB / 452 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.3522, allocations: 41.48 kB / 452 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-05/0.3523, allocations: 41.22 kB / 452.1 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3523, allocations: 4.688 kB / 452.1 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3523, allocations: 0 / 452.1 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3523, allocations: 1.219 kB / 452.1 MB, free: 19.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.3526, allocations: 354 kB / 452.4 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3526, allocations: 1.375 kB / 452.4 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.3529, allocations: 39.58 kB / 452.4 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3529, allocations: 4.875 kB / 452.4 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.3529, allocations: 15.39 kB / 452.5 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3529, allocations: 1.875 kB / 452.5 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3529, allocations: 0 / 452.5 MB, free: 19.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.3535, allocations: 0.5062 MB / 453 MB, free: 19.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.3536, allocations: 119 kB / 453.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.3536, allocations: 12.28 kB / 453.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.3538, allocations: 13.23 kB / 453.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.3538, allocations: 20.8 kB / 453.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.3539, allocations: 7.812 kB / 453.1 MB, free: 19.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002529/0.3541, allocations: 272.1 kB / 453.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3541, allocations: 0 / 453.4 MB, free: 19.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002171/0.3563, allocations: 0.6559 MB / 454.1 MB, free: 19.18 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.001515/0.3578, allocations: 0.6676 MB / 454.7 MB, free: 19.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.3591, allocations: 0.9299 MB / 455.7 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.3591, allocations: 1.219 kB / 455.7 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.3593, allocations: 115.7 kB / 455.8 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.3599, allocations: 119.3 kB / 455.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.3614, allocations: 0.9559 MB / 456.8 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.3617, allocations: 0.8426 MB / 457.7 MB, free: 17.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.3618, allocations: 31.31 kB / 457.7 MB, free: 17.4 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3618, allocations: 0 / 457.7 MB, free: 17.4 MB / 366.1 MB Notification: Performance of Templates: time 0.02111/0.3829, allocations: 12.15 MB / 469.9 MB, free: 14.16 MB / 366.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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.459171458845958]