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.001504/0.001504, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001671/0.001671, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.552/1.552, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.002367/0.002367, allocations: 47.94 kB / 373.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1235, allocations: 53.32 MB / 426.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003777/0.1273, allocations: 2.029 MB / 428.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2085/0.3358, allocations: 3.735 MB / 432.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.336, allocations: 19.16 kB / 432.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.3365, allocations: 185 kB / 432.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.3366, allocations: 48.91 kB / 432.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.3408, allocations: 1.936 MB / 434.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006666/0.3415, allocations: 0.4936 MB / 435.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.3416, allocations: 36.14 kB / 435.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.3418, allocations: 183.9 kB / 435.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.342, allocations: 176.6 kB / 435.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/0.3421, allocations: 22.91 kB / 435.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.345, allocations: 1.814 MB / 437.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.3452, allocations: 132.9 kB / 437.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.3454, allocations: 164.4 kB / 437.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.3477, allocations: 1.785 MB / 439.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3478, allocations: 1.625 kB / 439.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.3478, allocations: 0.5625 kB / 439.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.517e-06/0.3478, allocations: 0 / 439.5 MB, free: 6.938 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.001899/0.3497, allocations: 0.9145 MB / 440.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3497, allocations: 9.781 kB / 440.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.3498, allocations: 55.45 kB / 440.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.3502, allocations: 357.9 kB / 440.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.3503, allocations: 16.5 kB / 440.9 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.3503, allocations: 29.88 kB / 440.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.3508, allocations: 309.1 kB / 441.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3508, allocations: 0 / 441.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.3508, allocations: 7.891 kB / 441.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3508, allocations: 3.219 kB / 441.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.3511, allocations: 153.9 kB / 441.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.3522, allocations: 0.6636 MB / 442 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006468/0.3529, allocations: 319.6 kB / 442.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.3531, allocations: 105.7 kB / 442.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3531, allocations: 2.656 kB / 442.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.3531, allocations: 41.48 kB / 442.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.442e-06/0.3531, allocations: 0 / 442.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007636/0.3539, allocations: 386.1 kB / 442.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.3539, allocations: 369.3 kB / 443.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.3544, allocations: 405.5 kB / 443.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.3544, allocations: 37.08 kB / 443.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.3545, allocations: 197.5 kB / 443.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.3546, allocations: 90.83 kB / 443.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.3548, allocations: 99.52 kB / 444 MB, free: 4.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.3548, allocations: 356.8 kB / 444.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.3552, allocations: 215 kB / 444.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.3556, allocations: 316.3 kB / 444.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/0.3562, allocations: 397.8 kB / 445.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3562, allocations: 4 kB / 445.3 MB, free: 3.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001171/0.3574, allocations: 0.6495 MB / 445.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3574, allocations: 6.156 kB / 446 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/0.3574, allocations: 11.48 kB / 446 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004704/0.3579, allocations: 127.9 kB / 446.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.3582, allocations: 69.67 kB / 446.2 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/0.3616, allocations: 4.55 MB / 450.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.3619, allocations: 50.3 kB / 450.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.3619, allocations: 14.3 kB / 450.8 MB, free: 14.64 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.0002743/0.3622, allocations: 179.4 kB / 450.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/0.3623, allocations: 41.09 kB / 451 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.3624, allocations: 45.31 kB / 451 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3624, allocations: 3.891 kB / 451 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3624, allocations: 0 / 451 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3624, allocations: 5.156 kB / 451 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.3629, allocations: 348.9 kB / 451.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3629, allocations: 0.875 kB / 451.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.3632, allocations: 46.52 kB / 451.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3632, allocations: 1.031 kB / 451.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.3632, allocations: 12.33 kB / 451.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3632, allocations: 0 / 451.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3632, allocations: 5.953 kB / 451.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008145/0.364, allocations: 0.4998 MB / 451.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3642, allocations: 120.2 kB / 452.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.3642, allocations: 16.81 kB / 452.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3644, allocations: 18.28 kB / 452.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.3645, allocations: 11.12 kB / 452.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3645, allocations: 5.125 kB / 452.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000357/0.3648, allocations: 275.4 kB / 452.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3648, allocations: 0 / 452.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00302/0.3678, allocations: 0.6509 MB / 453 MB, free: 13.6 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.00164/0.3695, allocations: 0.6689 MB / 453.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.3711, allocations: 0.9325 MB / 454.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3711, allocations: 5.188 kB / 454.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.3714, allocations: 116.2 kB / 454.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.372, allocations: 112.3 kB / 454.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.3737, allocations: 0.9099 MB / 455.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.3743, allocations: 0.84 MB / 456.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000228/0.3745, allocations: 67.95 kB / 456.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.599e-05/0.3746, allocations: 28.28 kB / 456.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3746, allocations: 0 / 456.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of Templates: time 0.02635/0.4009, allocations: 13.03 MB / 469.7 MB, free: 4.234 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/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: 5.226098820567131]