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.001711/0.001711, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002135/0.002135, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.473/1.473, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001589/0.001589, allocations: 51.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2534, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003381/0.2567, allocations: 1.924 MB / 434.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006263/0.263, allocations: 3.488 MB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.2632, allocations: 19.75 kB / 437.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005914/0.2638, allocations: 199.1 kB / 437.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.264, allocations: 43.53 kB / 438 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004694/0.2686, allocations: 1.945 MB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006956/0.2693, allocations: 0.4949 MB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.2695, allocations: 33.27 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.2697, allocations: 183.4 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.27, allocations: 175.1 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.27, allocations: 24 kB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.2728, allocations: 1.877 MB / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.273, allocations: 123.6 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.2732, allocations: 127.1 kB / 443 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002111/0.2753, allocations: 1.811 MB / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2753, allocations: 0 / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2753, allocations: 0 / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2753, allocations: 0 / 444.8 MB, free: 10.27 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.001648/0.277, allocations: 0.8506 MB / 445.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.277, allocations: 8.031 kB / 445.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.2771, allocations: 52.61 kB / 445.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.2776, allocations: 283.4 kB / 446 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.2776, allocations: 16.66 kB / 446 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.2777, allocations: 28.33 kB / 446 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.2784, allocations: 0.6097 MB / 446.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.2784, allocations: 4 kB / 446.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.2784, allocations: 8 kB / 446.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.2784, allocations: 4 kB / 446.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.2787, allocations: 140.7 kB / 446.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.2799, allocations: 0.5583 MB / 447.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.2806, allocations: 321.2 kB / 447.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.2807, allocations: 108.7 kB / 447.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.2808, allocations: 0 / 447.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.2808, allocations: 34.94 kB / 447.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.2808, allocations: 0 / 447.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007391/0.2815, allocations: 389.1 kB / 448.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002148/0.2817, allocations: 367.8 kB / 448.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004581/0.2822, allocations: 406 kB / 448.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.2822, allocations: 41.64 kB / 449 MB, free: 5.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.2824, allocations: 200.9 kB / 449.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.2825, allocations: 83.28 kB / 449.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.2826, allocations: 105.6 kB / 449.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.2828, allocations: 362.7 kB / 449.7 MB, free: 5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.2832, allocations: 208.2 kB / 449.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.2838, allocations: 0.6156 MB / 450.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.2844, allocations: 388.7 kB / 450.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2844, allocations: 4 kB / 450.9 MB, free: 3.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001161/0.2855, allocations: 0.6567 MB / 451.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2856, allocations: 4 kB / 451.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/0.2856, allocations: 11.98 kB / 451.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004717/0.2861, allocations: 126.5 kB / 451.7 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.2863, allocations: 59.91 kB / 451.7 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003864/0.2902, allocations: 4.18 MB / 455.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.2905, allocations: 43.66 kB / 456 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.2905, allocations: 12 kB / 456 MB, free: 14.26 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.0002451/0.2908, allocations: 185.7 kB / 456.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.2908, allocations: 43.7 kB / 456.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.205e-05/0.2909, allocations: 51.97 kB / 456.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2909, allocations: 0 / 456.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.2909, allocations: 0 / 456.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2909, allocations: 0 / 456.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.2913, allocations: 264.9 kB / 456.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2913, allocations: 4 kB / 456.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.2916, allocations: 35.98 kB / 456.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2916, allocations: 7.938 kB / 456.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.2916, allocations: 11.98 kB / 456.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2916, allocations: 0 / 456.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2916, allocations: 0 / 456.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007455/0.2923, allocations: 0.5081 MB / 457.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.2924, allocations: 39.66 kB / 457.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.2924, allocations: 15.98 kB / 457.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.2926, allocations: 15.98 kB / 457.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.2927, allocations: 11.97 kB / 457.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.2927, allocations: 4 kB / 457.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000305/0.293, allocations: 271.1 kB / 457.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.293, allocations: 0 / 457.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00187/0.2949, allocations: 0.6559 MB / 458.1 MB, free: 12.09 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.001365/0.2962, allocations: 0.6667 MB / 458.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.298, allocations: 0.928 MB / 459.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.298, allocations: 0 / 459.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.2982, allocations: 119.9 kB / 459.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.2988, allocations: 126.1 kB / 459.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.3006, allocations: 0.96 MB / 460.9 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.3008, allocations: 233.1 kB / 461.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.511e-05/0.3009, allocations: 31.44 kB / 461.1 MB, free: 8.91 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3009, allocations: 4 kB / 461.1 MB, free: 8.906 MB / 366.1 MB Notification: Performance of Templates: time 0.02015/0.3211, allocations: 12.26 MB / 473.4 MB, free: 12.65 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: 9.272365061100572]