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.001375/0.001375, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001512/0.001512, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.294/1.294, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001164/0.001164, allocations: 47.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07613/0.0773, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002814/0.08016, allocations: 1.994 MB / 376.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1576/0.2378, allocations: 3.705 MB / 380.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.238, allocations: 12.03 kB / 380.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.2386, allocations: 180.4 kB / 380.5 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.2387, allocations: 48.89 kB / 380.6 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004231/0.2429, allocations: 1.94 MB / 382.5 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006018/0.2435, allocations: 0.4912 MB / 383 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2437, allocations: 54.39 kB / 383.1 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.2439, allocations: 179.8 kB / 383.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.2441, allocations: 169.7 kB / 383.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.2441, allocations: 23.88 kB / 383.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.2464, allocations: 1.789 MB / 385.2 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.2466, allocations: 119 kB / 385.3 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.2467, allocations: 165 kB / 385.5 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.2487, allocations: 1.775 MB / 387.3 MB, free: 8.098 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2487, allocations: 4 kB / 387.3 MB, free: 8.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2488, allocations: 1 kB / 387.3 MB, free: 8.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.2488, allocations: 4 kB / 387.3 MB, free: 8.09 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.001638/0.2504, allocations: 0.9087 MB / 388.2 MB, free: 7.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2505, allocations: 9.688 kB / 388.2 MB, free: 7.473 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.734e-05/0.2505, allocations: 57.77 kB / 388.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.2506, allocations: 50.2 kB / 388.3 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.251, allocations: 353.7 kB / 388.6 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.251, allocations: 19.66 kB / 388.7 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.2511, allocations: 29.42 kB / 388.7 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.2515, allocations: 315.3 kB / 389 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.2516, allocations: 1.125 kB / 389 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.2516, allocations: 6.375 kB / 389 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2516, allocations: 4 kB / 389 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.2519, allocations: 152.8 kB / 389.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.253, allocations: 0.6654 MB / 389.8 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000602/0.2536, allocations: 328 kB / 390.1 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.2538, allocations: 107 kB / 390.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.2538, allocations: 2 kB / 390.3 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.2538, allocations: 38.23 kB / 390.3 MB, free: 6.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.2538, allocations: 0 / 390.3 MB, free: 6.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006806/0.2545, allocations: 387.1 kB / 390.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.2546, allocations: 368.9 kB / 391 MB, free: 5.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.255, allocations: 412.8 kB / 391.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.255, allocations: 37.3 kB / 391.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.2551, allocations: 193.3 kB / 391.7 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.2552, allocations: 89.53 kB / 391.7 MB, free: 5.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.2553, allocations: 100.4 kB / 391.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.2554, allocations: 361.1 kB / 392.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.2558, allocations: 206.3 kB / 392.4 MB, free: 4.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.2561, allocations: 323.6 kB / 392.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005297/0.2567, allocations: 393.3 kB / 393.1 MB, free: 4.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2567, allocations: 4 kB / 393.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001059/0.2577, allocations: 0.6508 MB / 393.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2578, allocations: 5.859 kB / 393.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.2578, allocations: 8.562 kB / 393.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/0.2582, allocations: 129 kB / 393.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.2585, allocations: 64.14 kB / 394 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.2611, allocations: 4.565 MB / 398.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.2613, allocations: 46.3 kB / 398.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.2614, allocations: 13.5 kB / 398.6 MB, free: 15.73 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.0002235/0.2616, allocations: 180.5 kB / 398.8 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.2617, allocations: 41.55 kB / 398.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.622e-05/0.2618, allocations: 41.31 kB / 398.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2618, allocations: 6.219 kB / 398.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2618, allocations: 5.094 kB / 398.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2618, allocations: 0 / 398.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.2622, allocations: 348.1 kB / 399.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2622, allocations: 0 / 399.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.2625, allocations: 50.39 kB / 399.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2625, allocations: 0 / 399.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.2626, allocations: 11.47 kB / 399.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.2626, allocations: 6.141 kB / 399.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2626, allocations: 3.938 kB / 399.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/0.2633, allocations: 0.5058 MB / 399.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/0.2634, allocations: 118.8 kB / 399.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.2634, allocations: 13.31 kB / 399.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.2636, allocations: 17.28 kB / 399.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.2637, allocations: 13.58 kB / 399.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.2637, allocations: 8.094 kB / 399.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002654/0.264, allocations: 272.3 kB / 400.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.264, allocations: 0 / 400.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002729/0.2667, allocations: 0.65 MB / 400.8 MB, free: 14.68 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.002701/0.2694, allocations: 1.613 MB / 402.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.2708, allocations: 0.9558 MB / 403.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2709, allocations: 0 / 403.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.2711, allocations: 119.8 kB / 403.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.2717, allocations: 109.2 kB / 403.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005932/0.2777, allocations: 4.524 MB / 408.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.2781, allocations: 0.8334 MB / 409 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002244/0.2783, allocations: 67.5 kB / 409.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.2785, allocations: 132.4 kB / 409.2 MB, free: 9.328 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2785, allocations: 0 / 409.2 MB, free: 9.328 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04152/0.32, allocations: 17.12 MB / 426.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.83, allocations: 8 kB / 426.3 MB, free: 9.973 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