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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 105.6 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 55.91 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3204, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003043/0.3235, allocations: 2.004 MB / 402.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005905/0.3294, allocations: 3.672 MB / 405.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.3296, allocations: 11.88 kB / 405.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.3301, allocations: 183.1 kB / 406.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.3303, allocations: 39.58 kB / 406.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004288/0.3346, allocations: 1.934 MB / 408.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005293/0.3351, allocations: 498.8 kB / 408.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.3353, allocations: 57.05 kB / 408.6 MB, free: 444 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.3355, allocations: 183.3 kB / 408.8 MB, free: 260 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.3357, allocations: 167.2 kB / 409 MB, free: 92 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.3357, allocations: 24 kB / 409 MB, free: 68 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.3377, allocations: 1.787 MB / 410.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.3379, allocations: 119.6 kB / 410.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.338, allocations: 162.9 kB / 411 MB, free: 14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.3396, allocations: 1.781 MB / 412.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3397, allocations: 4 kB / 412.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3397, allocations: 0 / 412.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3397, allocations: 0 / 412.8 MB, free: 12.21 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.001521/0.3412, allocations: 0.888 MB / 413.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.3413, allocations: 8.031 kB / 413.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.789e-05/0.3413, allocations: 58.67 kB / 413.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.649e-05/0.3414, allocations: 44.38 kB / 413.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.3419, allocations: 350 kB / 414.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.3419, allocations: 20.28 kB / 414.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/0.342, allocations: 27.98 kB / 414.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.3424, allocations: 311 kB / 414.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3425, allocations: 0 / 414.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.3425, allocations: 8 kB / 414.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.056e-06/0.3425, allocations: 4 kB / 414.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.3428, allocations: 148.7 kB / 414.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.3439, allocations: 0.6794 MB / 415.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.3445, allocations: 320.9 kB / 415.7 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.3447, allocations: 104.8 kB / 415.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3448, allocations: 11.98 kB / 415.8 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3448, allocations: 38.56 kB / 415.8 MB, free: 9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.3448, allocations: 0 / 415.8 MB, free: 9 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006884/0.3455, allocations: 384.2 kB / 416.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/0.3457, allocations: 367.8 kB / 416.5 MB, free: 8.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.3461, allocations: 409.8 kB / 416.9 MB, free: 7.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.3461, allocations: 33.7 kB / 417 MB, free: 7.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.3463, allocations: 196.8 kB / 417.2 MB, free: 7.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.3464, allocations: 82.8 kB / 417.3 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.3465, allocations: 105.7 kB / 417.4 MB, free: 7.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3467, allocations: 350.8 kB / 417.7 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.347, allocations: 208.4 kB / 417.9 MB, free: 6.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/0.3474, allocations: 314.4 kB / 418.2 MB, free: 6.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.3479, allocations: 401.5 kB / 418.6 MB, free: 6.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3479, allocations: 0 / 418.6 MB, free: 6.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001003/0.3489, allocations: 0.6496 MB / 419.3 MB, free: 5.371 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3489, allocations: 8 kB / 419.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.349, allocations: 8 kB / 419.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004304/0.3494, allocations: 126.5 kB / 419.4 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.3497, allocations: 63.89 kB / 419.5 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/0.353, allocations: 4.562 MB / 424 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.3532, allocations: 51.42 kB / 424.1 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.3532, allocations: 12 kB / 424.1 MB, free: 120 kB / 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.000201/0.3535, allocations: 177.7 kB / 424.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.3535, allocations: 43.56 kB / 424.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.801e-05/0.3536, allocations: 39.75 kB / 424.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3536, allocations: 4 kB / 424.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3536, allocations: 0 / 424.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3536, allocations: 3.984 kB / 424.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.354, allocations: 353.3 kB / 424.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.354, allocations: 0 / 424.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.3543, allocations: 43.91 kB / 424.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3543, allocations: 3.938 kB / 424.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.3543, allocations: 11.98 kB / 424.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3543, allocations: 12 kB / 424.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3543, allocations: 0 / 424.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.355, allocations: 0.4948 MB / 425.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.3551, allocations: 116.5 kB / 425.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.3551, allocations: 8 kB / 425.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.3553, allocations: 15.98 kB / 425.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.3553, allocations: 19.91 kB / 425.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3554, allocations: 12 kB / 425.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002539/0.3556, allocations: 271.1 kB / 425.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3556, allocations: 4 kB / 425.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00191/0.3576, allocations: 0.6484 MB / 426.3 MB, free: 13.77 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.002076/0.3596, allocations: 1.605 MB / 427.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.3609, allocations: 0.9461 MB / 428.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.361, allocations: 0 / 428.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.3612, allocations: 123.9 kB / 429 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.3618, allocations: 124.3 kB / 429.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005578/0.3674, allocations: 4.485 MB / 433.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.3678, allocations: 0.838 MB / 434.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.368, allocations: 66.92 kB / 434.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.3681, allocations: 131.4 kB / 434.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3682, allocations: 0 / 434.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/0.4202, allocations: 17.28 MB / 451.9 MB, free: 4.074 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.16, allocations: 10.11 kB / 451.9 MB, free: 4.074 MB / 366.1 MB (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 --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) 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) Reference file matches