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.001384/0.001384, 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.001759/0.001759, 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.541/1.541, allocations: 230.6 MB / 258.2 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.00165/0.00165, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3158, allocations: 53.37 MB / 432.3 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00346/0.3193, allocations: 1.919 MB / 434.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007384/0.3266, allocations: 3.499 MB / 437.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.3269, allocations: 19.75 kB / 437.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006152/0.3275, allocations: 191.1 kB / 437.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.3276, allocations: 47.59 kB / 438 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005145/0.3328, allocations: 1.945 MB / 439.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007419/0.3335, allocations: 0.4988 MB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.3337, allocations: 29.27 kB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.3339, allocations: 191.3 kB / 440.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.3342, allocations: 179.1 kB / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.3342, allocations: 24 kB / 440.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.3371, allocations: 1.904 MB / 442.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.3373, allocations: 127.6 kB / 442.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.3374, allocations: 127.2 kB / 443 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.3395, allocations: 1.816 MB / 444.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3395, allocations: 0 / 444.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3395, allocations: 0 / 444.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.3395, allocations: 0 / 444.8 MB, free: 10.34 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.001731/0.3413, allocations: 0.8391 MB / 445.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3413, allocations: 12.03 kB / 445.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.3414, allocations: 48.61 kB / 445.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.342, allocations: 299.3 kB / 446 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.342, allocations: 12.66 kB / 446 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.3421, allocations: 28.33 kB / 446.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.3427, allocations: 0.6057 MB / 446.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3428, allocations: 4 kB / 446.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.3428, allocations: 12 kB / 446.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3428, allocations: 4 kB / 446.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.3431, allocations: 140.7 kB / 446.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.3443, allocations: 0.5622 MB / 447.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006989/0.345, allocations: 322.4 kB / 447.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3452, allocations: 108.7 kB / 447.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3453, allocations: 4 kB / 447.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.3453, allocations: 38.56 kB / 447.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.3453, allocations: 0 / 447.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.000747/0.346, allocations: 383.4 kB / 448.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00023/0.3463, allocations: 367.8 kB / 448.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.3467, allocations: 409.8 kB / 449 MB, free: 5.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.3468, allocations: 33.7 kB / 449 MB, free: 5.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.347, allocations: 204.9 kB / 449.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.471e-05/0.347, allocations: 83.28 kB / 449.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.3472, allocations: 101.7 kB / 449.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3474, allocations: 358.7 kB / 449.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.3477, allocations: 204.2 kB / 449.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.3484, allocations: 0.6196 MB / 450.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006305/0.349, allocations: 392.6 kB / 450.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.349, allocations: 0 / 450.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001206/0.3502, allocations: 0.6567 MB / 451.6 MB, free: 3.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3502, allocations: 8 kB / 451.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.3503, allocations: 4 kB / 451.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004894/0.3507, allocations: 126.5 kB / 451.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.3511, allocations: 67.89 kB / 451.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/0.3552, allocations: 4.179 MB / 456 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.3554, allocations: 47.69 kB / 456 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.3555, allocations: 12 kB / 456 MB, free: 14.32 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.0002716/0.3557, allocations: 177.7 kB / 456.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.3558, allocations: 39.72 kB / 456.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.3559, allocations: 43.84 kB / 456.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3559, allocations: 8.094 kB / 456.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.3559, allocations: 0 / 456.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.356, allocations: 3.984 kB / 456.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.3564, allocations: 257 kB / 456.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3564, allocations: 3.984 kB / 456.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.3568, allocations: 47.91 kB / 456.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3568, allocations: 0 / 456.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.3569, allocations: 8 kB / 456.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3569, allocations: 4 kB / 456.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3569, allocations: 3.984 kB / 456.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009818/0.3579, allocations: 0.5067 MB / 457.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/0.3579, allocations: 39.64 kB / 457.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/0.358, allocations: 12 kB / 457.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.3583, allocations: 19.92 kB / 457.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.3583, allocations: 11.97 kB / 457.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.3584, allocations: 11.94 kB / 457.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004066/0.3588, allocations: 271.1 kB / 457.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3588, allocations: 0 / 457.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00237/0.3611, allocations: 0.652 MB / 458.1 MB, free: 12.16 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.00143/0.3626, allocations: 0.6706 MB / 458.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.3642, allocations: 0.923 MB / 459.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3642, allocations: 4 kB / 459.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.3644, allocations: 119.8 kB / 459.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.3651, allocations: 126.9 kB / 460 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.3667, allocations: 0.9115 MB / 460.9 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.367, allocations: 237 kB / 461.1 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.3672, allocations: 70.86 kB / 461.2 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.3673, allocations: 31.44 kB / 461.2 MB, free: 8.953 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3673, allocations: 0 / 461.2 MB, free: 8.953 MB / 366.1 MB Notification: Performance of Templates: time 0.02634/0.3936, allocations: 13.79 MB / 475 MB, free: 11.25 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 cvode -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: 6.51765312498901]