Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.846/1.846, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 67.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3023, allocations: 50.53 MB / 408.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003609/0.3059, allocations: 2.023 MB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00694/0.3129, allocations: 3.717 MB / 414.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.3131, allocations: 11.88 kB / 414.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005591/0.3137, allocations: 183.1 kB / 414.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.3139, allocations: 47.56 kB / 414.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004982/0.3189, allocations: 1.943 MB / 416.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006851/0.3196, allocations: 0.491 MB / 417.2 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3197, allocations: 49 kB / 417.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.3199, allocations: 183.3 kB / 417.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.3202, allocations: 167.2 kB / 417.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.3203, allocations: 28 kB / 417.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/0.323, allocations: 1.799 MB / 419.4 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.3232, allocations: 119.7 kB / 419.5 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.3234, allocations: 162.9 kB / 419.6 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.3254, allocations: 1.784 MB / 421.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3254, allocations: 0 / 421.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3254, allocations: 0 / 421.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.964e-06/0.3255, allocations: 0 / 421.4 MB, free: 4.836 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.001757/0.3272, allocations: 0.9182 MB / 422.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3273, allocations: 12.03 kB / 422.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.351e-05/0.3273, allocations: 50.73 kB / 422.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.006e-05/0.3274, allocations: 52.61 kB / 422.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.3279, allocations: 354.5 kB / 422.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.328, allocations: 16.66 kB / 422.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.3281, allocations: 32.08 kB / 422.9 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000493/0.3285, allocations: 311.6 kB / 423.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3286, allocations: 0 / 423.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.3286, allocations: 7.984 kB / 423.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3286, allocations: 4 kB / 423.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.3289, allocations: 148.7 kB / 423.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.3303, allocations: 0.664 MB / 424 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.331, allocations: 330.5 kB / 424.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.3312, allocations: 104.8 kB / 424.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3312, allocations: 4 kB / 424.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.3313, allocations: 34.56 kB / 424.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.3313, allocations: 0 / 424.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007419/0.332, allocations: 388.7 kB / 424.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002289/0.3323, allocations: 371.8 kB / 425.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004901/0.3328, allocations: 409.8 kB / 425.6 MB, free: 364 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.3328, allocations: 33.7 kB / 425.6 MB, free: 324 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.333, allocations: 200.9 kB / 425.8 MB, free: 120 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.54e-05/0.3331, allocations: 83.28 kB / 425.9 MB, free: 36 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.3332, allocations: 97.77 kB / 426 MB, free: 15.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.3334, allocations: 362.7 kB / 426.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.3338, allocations: 208.2 kB / 426.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.3342, allocations: 314.5 kB / 426.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/0.3349, allocations: 405.3 kB / 427.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3349, allocations: 0 / 427.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001148/0.336, allocations: 0.6539 MB / 427.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.3361, allocations: 4 kB / 427.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.3361, allocations: 15.92 kB / 427.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004456/0.3366, allocations: 130.5 kB / 428.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.3369, allocations: 59.91 kB / 428.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00438/0.3412, allocations: 4.558 MB / 432.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.3416, allocations: 47.64 kB / 432.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.3417, allocations: 16 kB / 432.7 MB, free: 8.699 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.0002676/0.3419, allocations: 177.8 kB / 432.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.342, allocations: 35.77 kB / 432.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.594e-05/0.3421, allocations: 43.75 kB / 433 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.3421, allocations: 7.938 kB / 433 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3421, allocations: 0 / 433 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3421, allocations: 0 / 433 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.3426, allocations: 349.3 kB / 433.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3426, allocations: 0 / 433.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.343, allocations: 43.92 kB / 433.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.343, allocations: 0 / 433.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.3431, allocations: 15.98 kB / 433.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3431, allocations: 3.938 kB / 433.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3431, allocations: 0 / 433.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007278/0.3438, allocations: 0.5028 MB / 433.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-05/0.3439, allocations: 116.8 kB / 434 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.344, allocations: 15.92 kB / 434 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.3442, allocations: 19.98 kB / 434.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.3442, allocations: 11.98 kB / 434.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3442, allocations: 8 kB / 434.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003019/0.3446, allocations: 275.1 kB / 434.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.034e-06/0.3446, allocations: 0 / 434.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002012/0.3466, allocations: 0.6597 MB / 435 MB, free: 6.348 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.002581/0.3492, allocations: 1.621 MB / 436.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.3508, allocations: 0.9638 MB / 437.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3509, allocations: 0 / 437.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.3511, allocations: 119.9 kB / 437.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.3517, allocations: 117.4 kB / 437.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006978/0.3587, allocations: 4.503 MB / 442.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006446/0.3594, allocations: 0.8496 MB / 443.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000223/0.3596, allocations: 62.94 kB / 443.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.3599, allocations: 131.4 kB / 443.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3599, allocations: 0 / 443.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05916/0.419, allocations: 17.2 MB / 460.6 MB, free: 12.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.48, allocations: 23.14 kB / 460.6 MB, free: 12.63 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00036 Modelica_trunk_Modelica_Blocks_Examples_Filter.fmu > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.csv","/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_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches