Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_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.001711/0.001711, allocations: 109.4 kB / 17.73 MB, free: 5.312 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.001811/0.001811, allocations: 192.2 kB / 18.66 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08507/0.08675, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003372/0.09016, allocations: 1.994 MB / 376.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.161/0.2512, allocations: 3.716 MB / 380.3 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.2514, allocations: 10.44 kB / 380.4 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.2519, allocations: 180.6 kB / 380.5 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.252, allocations: 44.22 kB / 380.6 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004139/0.2561, allocations: 1.931 MB / 382.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000604/0.2568, allocations: 0.4923 MB / 383 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.2569, allocations: 51.78 kB / 383 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.2571, allocations: 173.7 kB / 383.2 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.2573, allocations: 175.4 kB / 383.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.2574, allocations: 23.09 kB / 383.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.2597, allocations: 1.787 MB / 385.2 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.2599, allocations: 122.6 kB / 385.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.26, allocations: 161.9 kB / 385.5 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.2621, allocations: 1.775 MB / 387.3 MB, free: 8.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2621, allocations: 1.312 kB / 387.3 MB, free: 8.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2621, allocations: 0 / 387.3 MB, free: 8.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.2621, allocations: 0 / 387.3 MB, free: 8.113 MB / 318.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.001808/0.2639, allocations: 0.9185 MB / 388.2 MB, free: 7.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.264, allocations: 10.44 kB / 388.2 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.264, allocations: 51.8 kB / 388.2 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.2641, allocations: 55.41 kB / 388.3 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.2645, allocations: 354.5 kB / 388.6 MB, free: 7.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.2646, allocations: 16.53 kB / 388.7 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.2646, allocations: 34.08 kB / 388.7 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.2651, allocations: 315.6 kB / 389 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2651, allocations: 0 / 389 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.2651, allocations: 7.312 kB / 389 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2651, allocations: 2.938 kB / 389 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.2654, allocations: 153 kB / 389.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.2664, allocations: 0.6674 MB / 389.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006054/0.2671, allocations: 320.7 kB / 390.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.2672, allocations: 106.8 kB / 390.2 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2673, allocations: 6.75 kB / 390.2 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.2673, allocations: 42.56 kB / 390.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.2673, allocations: 0 / 390.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006787/0.268, allocations: 381.3 kB / 390.7 MB, free: 6.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.2681, allocations: 365.2 kB / 391 MB, free: 5.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.2685, allocations: 412.8 kB / 391.4 MB, free: 5.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.2685, allocations: 33.55 kB / 391.4 MB, free: 5.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2686, allocations: 196.6 kB / 391.6 MB, free: 5.266 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.2687, allocations: 94.84 kB / 391.7 MB, free: 5.195 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.2688, allocations: 101.2 kB / 391.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.233e-05/0.2689, allocations: 356 kB / 392.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.2692, allocations: 208.3 kB / 392.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.2696, allocations: 327.8 kB / 392.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/0.2702, allocations: 392.6 kB / 393.1 MB, free: 4.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2702, allocations: 0 / 393.1 MB, free: 4.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001082/0.2713, allocations: 0.6527 MB / 393.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2713, allocations: 6.156 kB / 393.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/0.2713, allocations: 11.48 kB / 393.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000432/0.2718, allocations: 132.5 kB / 393.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.272, allocations: 58.55 kB / 393.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.2747, allocations: 4.568 MB / 398.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.275, allocations: 48.19 kB / 398.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.275, allocations: 12.84 kB / 398.6 MB, free: 15.74 MB / 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.0002392/0.2752, allocations: 175.3 kB / 398.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/0.2754, allocations: 38.09 kB / 398.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.2755, allocations: 48.78 kB / 398.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2755, allocations: 3.641 kB / 398.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.2755, allocations: 3.938 kB / 398.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2755, allocations: 2.047 kB / 398.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.276, allocations: 347.6 kB / 399.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.276, allocations: 1.125 kB / 399.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.2763, allocations: 41.3 kB / 399.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2763, allocations: 1.344 kB / 399.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.2764, allocations: 10.83 kB / 399.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2764, allocations: 1.281 kB / 399.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.2764, allocations: 9.125 kB / 399.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007153/0.2771, allocations: 0.5056 MB / 399.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.2772, allocations: 116.7 kB / 399.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.2773, allocations: 17.64 kB / 399.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.2775, allocations: 16.5 kB / 399.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.2775, allocations: 13.14 kB / 399.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.2775, allocations: 4.125 kB / 399.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002979/0.2778, allocations: 278.3 kB / 400.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2779, allocations: 1.375 kB / 400.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003205/0.2811, allocations: 0.6507 MB / 400.8 MB, free: 14.7 MB / 334.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.003211/0.2843, allocations: 1.617 MB / 402.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.2859, allocations: 0.9597 MB / 403.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2859, allocations: 1.25 kB / 403.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.2862, allocations: 123.4 kB / 403.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/0.2869, allocations: 111.2 kB / 403.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00677/0.2936, allocations: 4.505 MB / 408.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.2942, allocations: 0.8413 MB / 409 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002357/0.2944, allocations: 70.05 kB / 409.1 MB, free: 9.457 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.2946, allocations: 131.7 kB / 409.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2946, allocations: 0 / 409.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06898/0.3636, allocations: 17.12 MB / 426.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.43, allocations: 7.984 kB / 426.3 MB, free: 10.01 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Blocks_Examples_Filter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches