Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.002021/0.002021, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002006/0.002006, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.332/1.332, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 43.94 kB / 378.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2206, allocations: 53.37 MB / 431.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002996/0.2236, allocations: 1.924 MB / 433.8 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005525/0.2291, allocations: 3.492 MB / 437.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.2292, allocations: 23.75 kB / 437.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.2297, allocations: 191.1 kB / 437.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.2298, allocations: 47.52 kB / 437.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.2337, allocations: 1.937 MB / 439.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005799/0.2343, allocations: 0.5027 MB / 440 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2344, allocations: 29.27 kB / 440 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.2346, allocations: 191.3 kB / 440.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.2349, allocations: 175.2 kB / 440.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.834e-05/0.2349, allocations: 27.94 kB / 440.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.2373, allocations: 1.904 MB / 442.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.2374, allocations: 123.6 kB / 442.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.2376, allocations: 131.2 kB / 442.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.2394, allocations: 1.815 MB / 444.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2394, allocations: 0 / 444.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2394, allocations: 4 kB / 444.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.2394, allocations: 0 / 444.4 MB, free: 10.11 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.001396/0.2408, allocations: 0.8351 MB / 445.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2408, allocations: 12.03 kB / 445.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.512e-05/0.2408, allocations: 8.469 kB / 445.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.942e-05/0.2409, allocations: 46.73 kB / 445.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.278e-05/0.241, allocations: 52.61 kB / 445.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.2414, allocations: 295.3 kB / 445.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.2414, allocations: 12.66 kB / 445.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.78e-05/0.2415, allocations: 35.88 kB / 445.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006242/0.2421, allocations: 0.6058 MB / 446.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2421, allocations: 0 / 446.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.2422, allocations: 8 kB / 446.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2422, allocations: 8 kB / 446.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.2425, allocations: 144.4 kB / 446.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.2435, allocations: 0.5852 MB / 447 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/0.2442, allocations: 318.5 kB / 447.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.2443, allocations: 104.8 kB / 447.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.2443, allocations: 4 kB / 447.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.2444, allocations: 42.56 kB / 447.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/0.2444, allocations: 0 / 447.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006821/0.2451, allocations: 384.3 kB / 447.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001979/0.2453, allocations: 371.8 kB / 448.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.2457, allocations: 405.8 kB / 448.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.2457, allocations: 37.7 kB / 448.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.2459, allocations: 200.9 kB / 448.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.2459, allocations: 91.27 kB / 448.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/0.2461, allocations: 101.7 kB / 449 MB, free: 5.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2463, allocations: 358.7 kB / 449.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.2466, allocations: 208.2 kB / 449.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.2472, allocations: 0.6157 MB / 450.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.2478, allocations: 388.7 kB / 450.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2478, allocations: 0 / 450.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001086/0.2489, allocations: 0.6527 MB / 451.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2489, allocations: 11.94 kB / 451.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.2489, allocations: 11.98 kB / 451.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.2493, allocations: 130.5 kB / 451.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.2496, allocations: 59.91 kB / 451.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003767/0.2534, allocations: 4.244 MB / 455.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.2536, allocations: 51.69 kB / 455.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.2536, allocations: 12 kB / 455.7 MB, free: 13.88 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.0002124/0.2538, allocations: 173.8 kB / 455.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.2539, allocations: 39.72 kB / 455.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.575e-05/0.254, allocations: 43.84 kB / 456 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.254, allocations: 7.938 kB / 456 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.254, allocations: 8.078 kB / 456 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.254, allocations: 0 / 456 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.2544, allocations: 292.5 kB / 456.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2544, allocations: 0 / 456.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.2546, allocations: 47.91 kB / 456.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.2547, allocations: 0 / 456.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.2547, allocations: 11.94 kB / 456.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2547, allocations: 4 kB / 456.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2547, allocations: 3.984 kB / 456.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.2554, allocations: 0.4951 MB / 456.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.2554, allocations: 47.64 kB / 456.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.2555, allocations: 15.94 kB / 456.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.2556, allocations: 11.98 kB / 456.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.2557, allocations: 15.97 kB / 456.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.2557, allocations: 8 kB / 456.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002736/0.256, allocations: 271.1 kB / 457.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.256, allocations: 3.938 kB / 457.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00172/0.2577, allocations: 0.6519 MB / 457.9 MB, free: 11.68 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.002222/0.2599, allocations: 1.616 MB / 459.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.2613, allocations: 0.9218 MB / 460.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2613, allocations: 4 kB / 460.4 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.2615, allocations: 117.9 kB / 460.5 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006031/0.2621, allocations: 116.8 kB / 460.6 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005964/0.2681, allocations: 4.505 MB / 465.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.2683, allocations: 237 kB / 465.4 MB, free: 3.949 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.2685, allocations: 70.92 kB / 465.4 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.2687, allocations: 127.4 kB / 465.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2687, allocations: 0 / 465.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04752/0.3162, allocations: 17.95 MB / 483.5 MB, free: 2.051 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.79, allocations: 10.25 kB / 483.5 MB, free: 2.047 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.243747948901728]