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.00135/0.00135, allocations: 102.8 kB / 21.19 MB, free: 0.6367 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.001616/0.001616, allocations: 217.3 kB / 24.49 MB, free: 3.93 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.001614/0.001614, allocations: 47.94 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2188, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003096/0.2219, allocations: 1.927 MB / 434.3 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006031/0.2279, allocations: 3.499 MB / 437.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.2281, allocations: 19.75 kB / 437.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.2286, allocations: 187.1 kB / 438 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.2287, allocations: 51.56 kB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.2328, allocations: 1.939 MB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005914/0.2334, allocations: 0.5066 MB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.2335, allocations: 33.27 kB / 440.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.2337, allocations: 195.3 kB / 440.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.234, allocations: 167.2 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.234, allocations: 24 kB / 440.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002445/0.2365, allocations: 1.9 MB / 442.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.2366, allocations: 135.5 kB / 442.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.2368, allocations: 131.2 kB / 443 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.2387, allocations: 1.804 MB / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2387, allocations: 0 / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2387, allocations: 0 / 444.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.2387, allocations: 4 kB / 444.8 MB, free: 10.2 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.001525/0.2402, allocations: 0.8467 MB / 445.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2403, allocations: 8.031 kB / 445.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.2404, allocations: 52.61 kB / 445.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.2409, allocations: 287.4 kB / 446 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.2409, allocations: 16.66 kB / 446 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.91e-05/0.2409, allocations: 28.33 kB / 446.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/0.2416, allocations: 0.6019 MB / 446.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2416, allocations: 7.875 kB / 446.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.2416, allocations: 11.98 kB / 446.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2416, allocations: 4 kB / 446.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.2419, allocations: 148.7 kB / 446.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.2431, allocations: 0.5661 MB / 447.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/0.2438, allocations: 302.9 kB / 447.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.244, allocations: 116.7 kB / 447.8 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.244, allocations: 4 kB / 447.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.244, allocations: 38.56 kB / 447.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.244, allocations: 4 kB / 447.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007336/0.2448, allocations: 380.2 kB / 448.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001896/0.245, allocations: 367.8 kB / 448.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.2454, allocations: 405.8 kB / 449 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.2454, allocations: 33.7 kB / 449 MB, free: 5.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.2456, allocations: 192.9 kB / 449.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/0.2457, allocations: 95.27 kB / 449.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.2458, allocations: 97.67 kB / 449.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.246, allocations: 358.7 kB / 449.7 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.2463, allocations: 216.1 kB / 450 MB, free: 4.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.2469, allocations: 0.6118 MB / 450.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/0.2476, allocations: 392.7 kB / 450.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2476, allocations: 0 / 450.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001172/0.2487, allocations: 0.649 MB / 451.6 MB, free: 2.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2488, allocations: 11.94 kB / 451.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.2488, allocations: 11.92 kB / 451.6 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/0.2492, allocations: 130.4 kB / 451.7 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.2496, allocations: 63.95 kB / 451.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.2533, allocations: 4.175 MB / 456 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.2535, allocations: 47.69 kB / 456 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.2535, allocations: 16.25 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.0002054/0.2537, allocations: 181.7 kB / 456.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.2538, allocations: 51.69 kB / 456.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.172e-05/0.2539, allocations: 43.84 kB / 456.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2539, allocations: 0 / 456.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2539, allocations: 4 kB / 456.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.254, allocations: 39.66 kB / 456.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.254, allocations: 11.98 kB / 456.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.2542, allocations: 19.98 kB / 456.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.2543, allocations: 15.91 kB / 456.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001258/0.2555, allocations: 492.5 kB / 456.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000866/0.2564, allocations: 0.6593 MB / 457.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002265/0.2566, allocations: 137.9 kB / 457.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002892/0.2569, allocations: 271.1 kB / 457.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Backend: time 5.51e-07/0.2569, allocations: 0 / 457.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002842/0.2597, allocations: 1.47 MB / 459.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of SimCode: time 0.001621/0.2614, allocations: 1.335 MB / 460.8 MB, free: 9.309 MB / 366.1 MB Notification: Performance of Templates: time 0.024/0.2854, allocations: 14.35 MB / 475.1 MB, free: 11.05 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 -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.665404399995168]