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.001328/0.001328, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001298/0.001298, allocations: 195.9 kB / 24.5 MB, free: 4.008 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.319/1.319, allocations: 225.6 MB / 253.3 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 51.92 kB / 371.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2219, allocations: 52.19 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003019/0.225, allocations: 2.021 MB / 425.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00566/0.2306, allocations: 3.721 MB / 429.2 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.2308, allocations: 19.75 kB / 429.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005594/0.2314, allocations: 179.1 kB / 429.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.2315, allocations: 47.56 kB / 429.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004419/0.2359, allocations: 1.927 MB / 431.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007184/0.2367, allocations: 0.5027 MB / 431.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.2368, allocations: 41.16 kB / 431.9 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.237, allocations: 183.4 kB / 432 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002398/0.2372, allocations: 171.2 kB / 432.2 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.2373, allocations: 20 kB / 432.2 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.2398, allocations: 1.908 MB / 434.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.2399, allocations: 119.6 kB / 434.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.2401, allocations: 170.9 kB / 434.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.2419, allocations: 1.797 MB / 436.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2419, allocations: 0 / 436.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2419, allocations: 0 / 436.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.2419, allocations: 4 kB / 436.2 MB, free: 1.789 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.001477/0.2434, allocations: 0.8352 MB / 437.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2434, allocations: 12.03 kB / 437.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.725e-05/0.2435, allocations: 8.469 kB / 437.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.347e-05/0.2435, allocations: 50.73 kB / 437.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.178e-05/0.2436, allocations: 48.66 kB / 437.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.244, allocations: 294.8 kB / 437.5 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.2441, allocations: 20.22 kB / 437.5 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/0.2441, allocations: 24 kB / 437.5 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.2446, allocations: 311.9 kB / 437.8 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2446, allocations: 3.984 kB / 437.8 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.2446, allocations: 8 kB / 437.8 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2446, allocations: 8 kB / 437.8 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.2449, allocations: 148.5 kB / 438 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.246, allocations: 0.6435 MB / 438.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/0.2467, allocations: 316.2 kB / 438.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.2468, allocations: 104.9 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.2469, allocations: 7.938 kB / 439 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.2469, allocations: 34.56 kB / 439.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.253e-06/0.2469, allocations: 0 / 439.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006934/0.2476, allocations: 395.3 kB / 439.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/0.2478, allocations: 367.8 kB / 439.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.2482, allocations: 409.8 kB / 440.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.2482, allocations: 33.7 kB / 440.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.2484, allocations: 192.9 kB / 440.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.415e-05/0.2484, allocations: 91.2 kB / 440.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.2486, allocations: 101.7 kB / 440.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.2487, allocations: 358.8 kB / 441 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.2491, allocations: 208.4 kB / 441.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.2495, allocations: 318 kB / 441.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/0.2501, allocations: 400.6 kB / 441.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2501, allocations: 0 / 441.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001081/0.2511, allocations: 0.6448 MB / 442.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2512, allocations: 4 kB / 442.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/0.2512, allocations: 8 kB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004173/0.2516, allocations: 130.5 kB / 442.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.2519, allocations: 63.89 kB / 442.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.2554, allocations: 4.249 MB / 447 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.2556, allocations: 43.66 kB / 447 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.2556, allocations: 16.14 kB / 447 MB, free: 6.258 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.0002051/0.2558, allocations: 177.8 kB / 447.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.731e-05/0.2559, allocations: 47.59 kB / 447.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.768e-05/0.256, allocations: 43.84 kB / 447.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.256, allocations: 0 / 447.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.256, allocations: 0 / 447.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.256, allocations: 7.984 kB / 447.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.2564, allocations: 320.5 kB / 447.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2564, allocations: 0 / 447.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.2566, allocations: 47.84 kB / 447.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2567, allocations: 0 / 447.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.2567, allocations: 12 kB / 447.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2567, allocations: 0 / 447.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2567, allocations: 0 / 447.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.2574, allocations: 0.5099 MB / 448.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.2574, allocations: 43.64 kB / 448.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.2575, allocations: 15.94 kB / 448.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.2577, allocations: 15.98 kB / 448.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.2577, allocations: 15.97 kB / 448.3 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.2577, allocations: 4 kB / 448.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002882/0.258, allocations: 271.1 kB / 448.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.258, allocations: 0 / 448.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001802/0.2598, allocations: 0.6558 MB / 449.2 MB, free: 4.023 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.00225/0.2621, allocations: 1.615 MB / 450.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.2634, allocations: 0.918 MB / 451.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.2634, allocations: 4 kB / 451.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.2636, allocations: 115.9 kB / 451.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.2642, allocations: 130.3 kB / 452 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005994/0.2702, allocations: 4.51 MB / 456.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.2707, allocations: 0.8419 MB / 457.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.2709, allocations: 62.94 kB / 457.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.2711, allocations: 135.4 kB / 457.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2711, allocations: 0 / 457.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04641/0.3175, allocations: 17.43 MB / 475 MB, free: 10.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.87, allocations: 14.2 kB / 475 MB, free: 10.23 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/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: 14.317972560995258]