Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 108 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001805/0.001805, allocations: 208.3 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.2 MB / 256.8 MB, free: 8.617 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Filter") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 59.91 kB / 376.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.241, allocations: 53.32 MB / 430.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003294/0.2443, allocations: 2.032 MB / 432.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006238/0.2505, allocations: 3.737 MB / 436 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.2507, allocations: 11.88 kB / 436 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.2513, allocations: 187.1 kB / 436.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.2514, allocations: 47.58 kB / 436.2 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004442/0.2559, allocations: 1.856 MB / 438.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000678/0.2565, allocations: 0.491 MB / 438.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.2567, allocations: 29.09 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.2569, allocations: 183.4 kB / 438.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.2571, allocations: 179 kB / 438.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.2572, allocations: 24 kB / 439 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.2598, allocations: 1.811 MB / 440.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.26, allocations: 131.5 kB / 440.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.2602, allocations: 166.9 kB / 441.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.2623, allocations: 1.78 MB / 442.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.2623, allocations: 3.984 kB / 442.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2623, allocations: 0 / 442.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.2624, allocations: 0 / 442.8 MB, free: 10.96 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.001653/0.264, allocations: 0.922 MB / 443.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.264, allocations: 8.031 kB / 443.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.2642, allocations: 52.61 kB / 443.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.2646, allocations: 350.6 kB / 444.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.2646, allocations: 12.66 kB / 444.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/0.2647, allocations: 28.33 kB / 444.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.2652, allocations: 303.9 kB / 444.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2652, allocations: 8 kB / 444.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.2653, allocations: 4 kB / 444.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2653, allocations: 4 kB / 444.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.2656, allocations: 153.2 kB / 444.7 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.2668, allocations: 0.6718 MB / 445.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.2675, allocations: 314.8 kB / 445.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.2677, allocations: 108.7 kB / 445.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.2677, allocations: 4 kB / 445.8 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2677, allocations: 46.55 kB / 445.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.2677, allocations: 0 / 445.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007486/0.2685, allocations: 381.1 kB / 446.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000219/0.2687, allocations: 367.9 kB / 446.5 MB, free: 6.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.2691, allocations: 405.9 kB / 446.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.2692, allocations: 33.7 kB / 447 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.2694, allocations: 196.9 kB / 447.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/0.2694, allocations: 91.22 kB / 447.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.2696, allocations: 105.7 kB / 447.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2698, allocations: 362.7 kB / 447.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.2701, allocations: 208.2 kB / 447.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/0.2706, allocations: 318.4 kB / 448.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.2712, allocations: 389.6 kB / 448.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2712, allocations: 0 / 448.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001223/0.2724, allocations: 0.6577 MB / 449.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2724, allocations: 8 kB / 449.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/0.2725, allocations: 15.92 kB / 449.3 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004861/0.2729, allocations: 134.4 kB / 449.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.2732, allocations: 55.97 kB / 449.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004089/0.2773, allocations: 4.558 MB / 454 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.2776, allocations: 47.61 kB / 454.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.2776, allocations: 12 kB / 454.1 MB, free: 14.89 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.0002368/0.2779, allocations: 181.7 kB / 454.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.2779, allocations: 35.77 kB / 454.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.735e-05/0.278, allocations: 39.75 kB / 454.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.278, allocations: 8.062 kB / 454.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.278, allocations: 7.938 kB / 454.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.278, allocations: 0 / 454.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.2785, allocations: 353.3 kB / 454.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2785, allocations: 3.938 kB / 454.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.2787, allocations: 39.97 kB / 454.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2787, allocations: 0 / 454.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.2788, allocations: 8 kB / 454.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.2788, allocations: 7.938 kB / 454.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2788, allocations: 3.938 kB / 454.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007254/0.2795, allocations: 0.5063 MB / 455.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.2796, allocations: 116.8 kB / 455.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.2796, allocations: 11.94 kB / 455.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.2798, allocations: 15.98 kB / 455.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.2799, allocations: 11.98 kB / 455.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.2799, allocations: 8 kB / 455.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002892/0.2802, allocations: 271.1 kB / 455.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2802, allocations: 8 kB / 455.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002045/0.2822, allocations: 0.6519 MB / 456.3 MB, free: 12.54 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.001531/0.2838, allocations: 0.6796 MB / 457 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.2853, allocations: 0.9296 MB / 458 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2853, allocations: 0 / 458 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.2856, allocations: 119.9 kB / 458.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005802/0.2862, allocations: 113.9 kB / 458.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.2878, allocations: 0.9702 MB / 459.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.2883, allocations: 0.838 MB / 460 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/0.2884, allocations: 27.44 kB / 460 MB, free: 8.734 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2884, allocations: 0 / 460 MB, free: 8.734 MB / 366.1 MB Notification: Performance of Templates: time 0.01859/0.3069, allocations: 12.16 MB / 472.2 MB, free: 12.58 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches