Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001664/0.001664, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002128/0.002128, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 51.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2192, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003109/0.2223, allocations: 1.919 MB / 434.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005775/0.2281, allocations: 3.507 MB / 437.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.2282, allocations: 19.75 kB / 437.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.2287, allocations: 191.1 kB / 438 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.2288, allocations: 47.56 kB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.2325, allocations: 1.939 MB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005847/0.2331, allocations: 0.5027 MB / 440.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2332, allocations: 29.22 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.2335, allocations: 187.4 kB / 440.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.2337, allocations: 179.1 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.2337, allocations: 20 kB / 440.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.2361, allocations: 1.912 MB / 442.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.2362, allocations: 123.6 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.2364, allocations: 131.2 kB / 443 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.2382, allocations: 1.812 MB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2382, allocations: 0 / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2382, allocations: 4 kB / 444.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2382, allocations: 0 / 444.8 MB, free: 10.19 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.001473/0.2397, allocations: 0.8429 MB / 445.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.2397, allocations: 8.031 kB / 445.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.9e-05/0.2398, allocations: 52.61 kB / 445.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.2403, allocations: 291.4 kB / 446 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.2403, allocations: 12.66 kB / 446 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.2404, allocations: 32.27 kB / 446.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006577/0.2411, allocations: 0.6096 MB / 446.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2411, allocations: 0 / 446.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.2411, allocations: 12 kB / 446.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2411, allocations: 8 kB / 446.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.2414, allocations: 140.7 kB / 446.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.2425, allocations: 0.5622 MB / 447.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006584/0.2432, allocations: 314.4 kB / 447.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.2434, allocations: 112.7 kB / 447.8 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.2434, allocations: 4 kB / 447.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.2434, allocations: 42.56 kB / 447.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.323e-06/0.2434, allocations: 0 / 447.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007275/0.2442, allocations: 384.2 kB / 448.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002097/0.2444, allocations: 367.8 kB / 448.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.2448, allocations: 405.8 kB / 449 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.2449, allocations: 37.7 kB / 449 MB, free: 5.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.245, allocations: 192.9 kB / 449.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/0.2451, allocations: 91.27 kB / 449.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.2452, allocations: 101.8 kB / 449.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.2454, allocations: 366.7 kB / 449.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.2458, allocations: 208.2 kB / 450 MB, free: 4.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.2464, allocations: 0.6079 MB / 450.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006026/0.247, allocations: 396.6 kB / 450.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.247, allocations: 0 / 450.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001155/0.2481, allocations: 0.6488 MB / 451.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2481, allocations: 8 kB / 451.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.2482, allocations: 7.984 kB / 451.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/0.2486, allocations: 126.5 kB / 451.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.2489, allocations: 67.89 kB / 451.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/0.2527, allocations: 4.179 MB / 456 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.2529, allocations: 47.69 kB / 456 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.2529, allocations: 12 kB / 456 MB, free: 14.18 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.0001956/0.2531, allocations: 177.7 kB / 456.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.2532, allocations: 43.72 kB / 456.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.601e-05/0.2533, allocations: 43.84 kB / 456.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2533, allocations: 4 kB / 456.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.2533, allocations: 96 / 456.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2533, allocations: 4 kB / 456.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.2536, allocations: 269 kB / 456.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2537, allocations: 0 / 456.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.254, allocations: 39.92 kB / 456.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.254, allocations: 0 / 456.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.254, allocations: 11.98 kB / 456.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.254, allocations: 0 / 456.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.254, allocations: 0 / 456.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.2547, allocations: 0.5067 MB / 457.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.2548, allocations: 43.66 kB / 457.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.2548, allocations: 15.98 kB / 457.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.255, allocations: 15.92 kB / 457.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.2551, allocations: 11.92 kB / 457.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.2551, allocations: 12 kB / 457.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.2554, allocations: 271.1 kB / 457.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2554, allocations: 0 / 457.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001649/0.257, allocations: 0.6559 MB / 458.1 MB, free: 12.02 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.00125/0.2583, allocations: 0.6668 MB / 458.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.2596, allocations: 0.9178 MB / 459.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2596, allocations: 4 kB / 459.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.2599, allocations: 121.7 kB / 459.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005987/0.2605, allocations: 130.2 kB / 460 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.2619, allocations: 0.9115 MB / 460.9 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.2622, allocations: 233.1 kB / 461.1 MB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001815/0.2624, allocations: 74.86 kB / 461.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.2624, allocations: 27.44 kB / 461.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2624, allocations: 0 / 461.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of Templates: time 0.02168/0.2841, allocations: 13.79 MB / 475 MB, free: 11.11 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 4.7345810560073005]