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.001647/0.001647, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.002151/0.002151, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.597/1.597, allocations: 207.6 MB / 235.3 MB, free: 10 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.0019/0.0019, allocations: 63.91 kB / 347.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2902, allocations: 49.16 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003183/0.2934, allocations: 2.003 MB / 398.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005869/0.2993, allocations: 3.775 MB / 402.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.2995, allocations: 19.31 kB / 402.1 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.3, allocations: 185.9 kB / 402.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.3001, allocations: 52.44 kB / 402.4 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005319/0.3055, allocations: 1.927 MB / 404.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006854/0.3061, allocations: 0.4991 MB / 404.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.3063, allocations: 43.23 kB / 404.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.3065, allocations: 187.7 kB / 405 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.3067, allocations: 174.1 kB / 405.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.3068, allocations: 21.81 kB / 405.2 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.3097, allocations: 1.897 MB / 407.1 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.3099, allocations: 131.4 kB / 407.2 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.31, allocations: 165.3 kB / 407.4 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.3119, allocations: 1.804 MB / 409.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3119, allocations: 4 kB / 409.2 MB, free: 2.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3119, allocations: 0 / 409.2 MB, free: 2.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.3119, allocations: 1.094 kB / 409.2 MB, free: 2.285 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.001773/0.3137, allocations: 0.8307 MB / 410 MB, free: 1.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.3137, allocations: 14.17 kB / 410.1 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.3138, allocations: 53.3 kB / 410.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.3139, allocations: 49.98 kB / 410.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005099/0.3144, allocations: 290.2 kB / 410.4 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.3144, allocations: 16.19 kB / 410.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/0.3145, allocations: 32.17 kB / 410.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.315, allocations: 313.6 kB / 410.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.315, allocations: 0 / 410.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.315, allocations: 6.625 kB / 410.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3151, allocations: 3.312 kB / 410.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.3153, allocations: 149.2 kB / 410.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.3166, allocations: 0.6429 MB / 411.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007034/0.3173, allocations: 316.6 kB / 411.9 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.3174, allocations: 99.14 kB / 412 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.3175, allocations: 4.203 kB / 412 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3175, allocations: 49.36 kB / 412 MB, free: 252 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.392e-06/0.3175, allocations: 0 / 412 MB, free: 252 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007967/0.3183, allocations: 372.9 kB / 412.4 MB, free: 60 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003443/0.3186, allocations: 372 kB / 412.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000602/0.3192, allocations: 407.3 kB / 413.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.3193, allocations: 32.42 kB / 413.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.3195, allocations: 197.2 kB / 413.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.3196, allocations: 97.8 kB / 413.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.3198, allocations: 97 kB / 413.6 MB, free: 15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002543/0.32, allocations: 362.8 kB / 413.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.3204, allocations: 206.1 kB / 414.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.321, allocations: 314 kB / 414.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/0.3217, allocations: 401 kB / 414.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3217, allocations: 0 / 414.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00137/0.3231, allocations: 0.6458 MB / 415.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3231, allocations: 9.688 kB / 415.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/0.3231, allocations: 9.641 kB / 415.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005209/0.3237, allocations: 132.6 kB / 415.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.324, allocations: 63.75 kB / 415.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004678/0.3286, allocations: 4.247 MB / 419.9 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.3289, allocations: 46.98 kB / 420 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/0.3289, allocations: 12.78 kB / 420 MB, free: 9.523 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.0002958/0.3292, allocations: 178.1 kB / 420.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.3293, allocations: 37.64 kB / 420.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.734e-05/0.3294, allocations: 44.62 kB / 420.3 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3294, allocations: 10.44 kB / 420.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3294, allocations: 0 / 420.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3294, allocations: 1.156 kB / 420.3 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.3299, allocations: 324.2 kB / 420.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3299, allocations: 4 kB / 420.6 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.3302, allocations: 38.52 kB / 420.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3302, allocations: 1.312 kB / 420.6 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.3302, allocations: 12.83 kB / 420.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.3302, allocations: 5.219 kB / 420.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3302, allocations: 0 / 420.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007798/0.331, allocations: 0.5049 MB / 421.2 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.331, allocations: 34.91 kB / 421.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.3311, allocations: 18.48 kB / 421.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.3313, allocations: 14.39 kB / 421.2 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.3313, allocations: 12.95 kB / 421.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.3313, allocations: 12.78 kB / 421.2 MB, free: 8.629 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003208/0.3317, allocations: 274.6 kB / 421.5 MB, free: 8.461 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3317, allocations: 3.938 kB / 421.5 MB, free: 8.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003067/0.3347, allocations: 0.6505 MB / 422.2 MB, free: 8.41 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.002913/0.3376, allocations: 1.632 MB / 423.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.3392, allocations: 0.9109 MB / 424.7 MB, free: 6.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.3392, allocations: 8 kB / 424.7 MB, free: 6.082 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.3395, allocations: 115.9 kB / 424.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.3401, allocations: 106.3 kB / 424.9 MB, free: 5.867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006718/0.3468, allocations: 4.51 MB / 429.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.3473, allocations: 0.846 MB / 430.3 MB, free: 380 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.3476, allocations: 70.86 kB / 430.4 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.3477, allocations: 131.4 kB / 430.5 MB, free: 176 kB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3477, allocations: 0 / 430.5 MB, free: 176 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06477/0.4125, allocations: 17.39 MB / 447.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.92, allocations: 3.938 kB / 447.9 MB, free: 14.71 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.61107515799813]