Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00177/0.00177, allocations: 107.6 kB / 21.18 MB, free: 0.5859 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.002149/0.002149, allocations: 210.7 kB / 24.47 MB, free: 3.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 51.92 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.257, allocations: 49.16 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002673/0.2597, allocations: 1.897 MB / 398.2 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006104/0.2658, allocations: 3.498 MB / 401.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.266, allocations: 20.62 kB / 401.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.2665, allocations: 191.3 kB / 401.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.2666, allocations: 47.38 kB / 402 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004347/0.2709, allocations: 1.933 MB / 403.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000555/0.2715, allocations: 0.499 MB / 404.4 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2716, allocations: 32.39 kB / 404.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.2718, allocations: 191.3 kB / 404.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.272, allocations: 169.5 kB / 404.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.896e-05/0.2721, allocations: 22.56 kB / 404.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.2747, allocations: 1.849 MB / 406.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.2748, allocations: 130.5 kB / 406.8 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.2749, allocations: 133.3 kB / 406.9 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.2766, allocations: 1.801 MB / 408.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2766, allocations: 0 / 408.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2766, allocations: 0 / 408.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.2766, allocations: 1.125 kB / 408.7 MB, free: 2.68 MB / 318.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.001458/0.2781, allocations: 0.8467 MB / 409.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2781, allocations: 13.73 kB / 409.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.2782, allocations: 49.58 kB / 409.6 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.546e-05/0.2782, allocations: 55.19 kB / 409.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.2787, allocations: 286.2 kB / 410 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.2787, allocations: 20.86 kB / 410 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.2787, allocations: 32.08 kB / 410 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.2792, allocations: 0.6065 MB / 410.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.2792, allocations: 0 / 410.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.2792, allocations: 11.44 kB / 410.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.2792, allocations: 3.469 kB / 410.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.2795, allocations: 151.9 kB / 410.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.2805, allocations: 0.6004 MB / 411.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.2811, allocations: 315.6 kB / 411.7 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.2812, allocations: 100.4 kB / 411.8 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.2813, allocations: 6.656 kB / 411.8 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.2813, allocations: 37.31 kB / 411.8 MB, free: 304 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.2813, allocations: 1.094 kB / 411.8 MB, free: 304 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007098/0.282, allocations: 377.9 kB / 412.2 MB, free: 108 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002568/0.2823, allocations: 367.9 kB / 412.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.2827, allocations: 410.5 kB / 413 MB, free: 15.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.2828, allocations: 32.7 kB / 413 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.283, allocations: 193.9 kB / 413.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/0.283, allocations: 98.22 kB / 413.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.2832, allocations: 101 kB / 413.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.2834, allocations: 362.8 kB / 413.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.2838, allocations: 201.9 kB / 413.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/0.2844, allocations: 0.6102 MB / 414.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/0.285, allocations: 392.4 kB / 414.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.285, allocations: 3.938 kB / 414.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001152/0.2862, allocations: 0.6472 MB / 415.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2862, allocations: 9.5 kB / 415.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.094e-05/0.2862, allocations: 13.77 kB / 415.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004363/0.2867, allocations: 129.3 kB / 415.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.2869, allocations: 56.25 kB / 415.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/0.2911, allocations: 4.245 MB / 420 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.2913, allocations: 48.25 kB / 420.1 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.2914, allocations: 9.75 kB / 420.1 MB, free: 9.223 MB / 334.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.0002423/0.2916, allocations: 176.5 kB / 420.3 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.203e-05/0.2917, allocations: 37.95 kB / 420.3 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.748e-05/0.2918, allocations: 44.59 kB / 420.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2918, allocations: 10.84 kB / 420.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2918, allocations: 0 / 420.4 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.2918, allocations: 5.109 kB / 420.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.2922, allocations: 299.9 kB / 420.7 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2922, allocations: 0 / 420.7 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.2925, allocations: 34.39 kB / 420.7 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.2925, allocations: 5.984 kB / 420.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.2925, allocations: 9 kB / 420.7 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.2925, allocations: 3.938 kB / 420.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2925, allocations: 1.688 kB / 420.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/0.2933, allocations: 0.5101 MB / 421.2 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.2934, allocations: 38.47 kB / 421.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.2934, allocations: 18.42 kB / 421.3 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.2936, allocations: 14.2 kB / 421.3 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.2936, allocations: 12.56 kB / 421.3 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.2936, allocations: 9.281 kB / 421.3 MB, free: 8.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002874/0.2939, allocations: 270.1 kB / 421.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2939, allocations: 0 / 421.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002686/0.2966, allocations: 0.6476 MB / 422.2 MB, free: 8.141 MB / 334.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.002661/0.2993, allocations: 1.624 MB / 423.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.3007, allocations: 0.9226 MB / 424.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3007, allocations: 0 / 424.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.3009, allocations: 119.8 kB / 424.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.3015, allocations: 118.6 kB / 425 MB, free: 5.441 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006325/0.3078, allocations: 4.514 MB / 429.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3081, allocations: 233.3 kB / 429.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002435/0.3083, allocations: 70.92 kB / 429.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.3085, allocations: 131.4 kB / 429.9 MB, free: 384 kB / 334.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3085, allocations: 0 / 429.9 MB, free: 384 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06817/0.3767, allocations: 18.23 MB / 448.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.82, allocations: 4.062 kB / 448.2 MB, free: 14.07 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_Filter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.257687398698181]