Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 194.3 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 51.91 kB / 370.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2558, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003443/0.2593, allocations: 1.916 MB / 425 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006362/0.2656, allocations: 3.441 MB / 428.4 MB, free: 9.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.2658, allocations: 19.75 kB / 428.4 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.2664, allocations: 195.1 kB / 428.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.2665, allocations: 47.58 kB / 428.7 MB, free: 8.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004609/0.2712, allocations: 1.936 MB / 430.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006352/0.2718, allocations: 0.491 MB / 431.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.2719, allocations: 41.25 kB / 431.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.2722, allocations: 183.4 kB / 431.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.2724, allocations: 167.1 kB / 431.5 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.2725, allocations: 24 kB / 431.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.2749, allocations: 1.861 MB / 433.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.2751, allocations: 127.5 kB / 433.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.2752, allocations: 131.1 kB / 433.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.2771, allocations: 1.798 MB / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2771, allocations: 0 / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2771, allocations: 0 / 435.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.2771, allocations: 4 kB / 435.4 MB, free: 2.074 MB / 334.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.001487/0.2786, allocations: 0.839 MB / 436.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2786, allocations: 8.031 kB / 436.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.689e-05/0.2787, allocations: 52.58 kB / 436.3 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.2792, allocations: 291.3 kB / 436.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.2793, allocations: 24.22 kB / 436.6 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.2793, allocations: 24 kB / 436.6 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006651/0.28, allocations: 0.6135 MB / 437.3 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.28, allocations: 0 / 437.3 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.28, allocations: 8 kB / 437.3 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.28, allocations: 0 / 437.3 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.2803, allocations: 144.7 kB / 437.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.2815, allocations: 0.5661 MB / 438 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.2822, allocations: 318.4 kB / 438.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.2824, allocations: 104.8 kB / 438.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.2824, allocations: 0 / 438.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.2824, allocations: 42.55 kB / 438.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.2824, allocations: 0 / 438.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008424/0.2833, allocations: 386.2 kB / 438.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002097/0.2835, allocations: 367.8 kB / 439.2 MB, free: 14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.2839, allocations: 405.8 kB / 439.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.284, allocations: 41.7 kB / 439.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.2841, allocations: 196.9 kB / 439.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/0.2842, allocations: 83.28 kB / 439.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.2843, allocations: 101.7 kB / 440 MB, free: 13.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2845, allocations: 354.7 kB / 440.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.2849, allocations: 208.4 kB / 440.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005766/0.2854, allocations: 0.6156 MB / 441.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/0.286, allocations: 400.7 kB / 441.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.286, allocations: 0 / 441.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001113/0.2871, allocations: 0.6526 MB / 442.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.2871, allocations: 7.938 kB / 442.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/0.2872, allocations: 8 kB / 442.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004537/0.2876, allocations: 130.5 kB / 442.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.2879, allocations: 63.89 kB / 442.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003795/0.2917, allocations: 4.176 MB / 446.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.2919, allocations: 47.61 kB / 446.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.2919, allocations: 15.94 kB / 446.6 MB, free: 6.051 MB / 350.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.0001957/0.2921, allocations: 173.7 kB / 446.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-05/0.2922, allocations: 47.88 kB / 446.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.176e-05/0.2923, allocations: 43.84 kB / 446.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2923, allocations: 3.984 kB / 446.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2923, allocations: 0 / 446.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2923, allocations: 0 / 446.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.2926, allocations: 257.1 kB / 447.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2926, allocations: 4 kB / 447.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.2929, allocations: 39.91 kB / 447.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2929, allocations: 4 kB / 447.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.2929, allocations: 11.98 kB / 447.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2929, allocations: 0 / 447.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2929, allocations: 4 kB / 447.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000715/0.2936, allocations: 0.5052 MB / 447.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.2937, allocations: 43.59 kB / 447.8 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.2937, allocations: 8 kB / 447.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.2939, allocations: 15.98 kB / 447.8 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.294, allocations: 20.02 kB / 447.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.294, allocations: 7.938 kB / 447.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.2943, allocations: 275.1 kB / 448.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2943, allocations: 0 / 448.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001861/0.2961, allocations: 0.6558 MB / 448.7 MB, free: 3.898 MB / 350.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.001348/0.2975, allocations: 0.6705 MB / 449.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.2988, allocations: 0.9142 MB / 450.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2988, allocations: 0 / 450.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.299, allocations: 119.9 kB / 450.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.2996, allocations: 126.9 kB / 450.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.3011, allocations: 0.9309 MB / 451.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.3013, allocations: 233.1 kB / 451.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.3015, allocations: 70.91 kB / 451.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.3016, allocations: 31.44 kB / 451.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3016, allocations: 0 / 451.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of Templates: time 0.02264/0.3242, allocations: 13.64 MB / 465.5 MB, free: 3.156 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.8728240840137005]