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.001654/0.001654, allocations: 110.4 kB / 16.92 MB, free: 6.332 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.001947/0.001947, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.352/1.352, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 55.05 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07714/0.07819, allocations: 49.43 MB / 350.1 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002958/0.08118, allocations: 2.009 MB / 352.2 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00531/0.08651, allocations: 3.664 MB / 355.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.08668, allocations: 11.88 kB / 355.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004544/0.08714, allocations: 179.1 kB / 356 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.0873, allocations: 55.5 kB / 356.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003843/0.09115, allocations: 1.936 MB / 358 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005509/0.09171, allocations: 0.4908 MB / 358.5 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.09186, allocations: 45.03 kB / 358.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.09206, allocations: 183.3 kB / 358.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.09229, allocations: 167.2 kB / 358.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.09235, allocations: 20 kB / 358.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.09452, allocations: 1.741 MB / 360.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.09468, allocations: 123.6 kB / 360.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.09484, allocations: 162.9 kB / 360.9 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.09649, allocations: 1.762 MB / 362.7 MB, free: 7.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.09651, allocations: 0 / 362.7 MB, free: 7.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09652, allocations: 0 / 362.7 MB, free: 7.801 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.09654, allocations: 8 kB / 362.7 MB, free: 7.793 MB / 302.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.001447/0.09799, allocations: 0.8919 MB / 363.6 MB, free: 6.848 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.09804, allocations: 12.03 kB / 363.6 MB, free: 6.836 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.036e-05/0.09809, allocations: 54.73 kB / 363.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.266e-05/0.09819, allocations: 48.38 kB / 363.7 MB, free: 6.727 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.09859, allocations: 350.2 kB / 364 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.09862, allocations: 24.16 kB / 364 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.09868, allocations: 27.91 kB / 364.1 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.09912, allocations: 307.1 kB / 364.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.09914, allocations: 0 / 364.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.09917, allocations: 8 kB / 364.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.09918, allocations: 4 kB / 364.4 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.09945, allocations: 140.7 kB / 364.5 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.1005, allocations: 0.6756 MB / 365.2 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.1012, allocations: 330.3 kB / 365.5 MB, free: 4.742 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.1014, allocations: 100.8 kB / 365.6 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.1014, allocations: 0 / 365.6 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1014, allocations: 38.56 kB / 365.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.1014, allocations: 0 / 365.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006684/0.1021, allocations: 390.9 kB / 366 MB, free: 4.207 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.1023, allocations: 371.8 kB / 366.4 MB, free: 3.758 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.1027, allocations: 405.7 kB / 366.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.1027, allocations: 37.7 kB / 366.8 MB, free: 3.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1028, allocations: 196.7 kB / 367 MB, free: 3.109 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.1029, allocations: 82.8 kB / 367.1 MB, free: 3.027 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.103, allocations: 97.69 kB / 367.2 MB, free: 2.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1032, allocations: 358.8 kB / 367.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.1035, allocations: 208.5 kB / 367.8 MB, free: 2.363 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.1039, allocations: 318.3 kB / 368.1 MB, free: 2.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.1044, allocations: 397.6 kB / 368.5 MB, free: 1.625 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1044, allocations: 4 kB / 368.5 MB, free: 1.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001039/0.1055, allocations: 0.6495 MB / 369.1 MB, free: 0.957 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1055, allocations: 4 kB / 369.1 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.652e-05/0.1055, allocations: 11.98 kB / 369.1 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.1059, allocations: 130.5 kB / 369.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.1062, allocations: 59.91 kB / 369.3 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1393/0.2455, allocations: 4.554 MB / 373.9 MB, free: 20.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.2458, allocations: 52.48 kB / 373.9 MB, free: 20.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.2459, allocations: 9.141 kB / 373.9 MB, free: 20.77 MB / 302.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.0002228/0.2461, allocations: 180.2 kB / 374.1 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.2462, allocations: 39.31 kB / 374.1 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.325e-05/0.2463, allocations: 49.89 kB / 374.2 MB, free: 20.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.2463, allocations: 2.75 kB / 374.2 MB, free: 20.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2463, allocations: 0.7031 kB / 374.2 MB, free: 20.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2463, allocations: 1.781 kB / 374.2 MB, free: 20.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.2467, allocations: 353.2 kB / 374.5 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2467, allocations: 0.5938 kB / 374.5 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.247, allocations: 38.61 kB / 374.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.247, allocations: 1.156 kB / 374.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.247, allocations: 15.44 kB / 374.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.247, allocations: 0.75 kB / 374.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.2471, allocations: 1.422 kB / 374.6 MB, free: 20.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006635/0.2477, allocations: 0.5107 MB / 375.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.2478, allocations: 114.5 kB / 375.2 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.2478, allocations: 16.7 kB / 375.2 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.248, allocations: 13.92 kB / 375.2 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.2481, allocations: 10.2 kB / 375.3 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.2481, allocations: 13.22 kB / 375.3 MB, free: 20.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.2484, allocations: 270.6 kB / 375.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2484, allocations: 0 / 375.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001972/0.2504, allocations: 0.647 MB / 376.2 MB, free: 20.12 MB / 302.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.001996/0.2524, allocations: 1.61 MB / 377.8 MB, free: 19.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.2537, allocations: 0.9744 MB / 378.8 MB, free: 18.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.2537, allocations: 4.656 kB / 378.8 MB, free: 18.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.2539, allocations: 126.4 kB / 378.9 MB, free: 18.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.2545, allocations: 117.7 kB / 379 MB, free: 18.69 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005372/0.2599, allocations: 4.514 MB / 383.5 MB, free: 16.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.2602, allocations: 0.8433 MB / 384.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.2604, allocations: 69.22 kB / 384.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.2606, allocations: 131 kB / 384.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2606, allocations: 0 / 384.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04092/0.3015, allocations: 17.01 MB / 401.6 MB, free: 4.883 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.185/9.487, allocations: 2.438 kB / 401.6 MB, free: 4.883 MB / 302.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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_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.csv","/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