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.001134/0.001134, allocations: 100.2 kB / 17.58 MB, free: 5.418 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.001188/0.001188, allocations: 192.1 kB / 18.51 MB, free: 4.508 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.386/1.386, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001317/0.001317, allocations: 59.91 kB / 280.7 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08154/0.08287, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003396/0.08631, allocations: 1.998 MB / 329.4 MB, free: 2.363 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005893/0.09223, allocations: 3.715 MB / 333.1 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.09251, allocations: 19.88 kB / 333.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005049/0.09306, allocations: 175.1 kB / 333.3 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.09326, allocations: 47.52 kB / 333.3 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00438/0.09765, allocations: 1.935 MB / 335.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006561/0.09832, allocations: 0.4909 MB / 335.7 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.09849, allocations: 45.08 kB / 335.8 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.0988, allocations: 171.5 kB / 336 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.0991, allocations: 171.1 kB / 336.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.877e-05/0.09918, allocations: 27.94 kB / 336.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.1016, allocations: 1.733 MB / 337.9 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.1018, allocations: 123.6 kB / 338 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.102, allocations: 170.9 kB / 338.2 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.1041, allocations: 1.758 MB / 339.9 MB, free: 7.773 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1041, allocations: 0 / 339.9 MB, free: 7.773 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1041, allocations: 0 / 339.9 MB, free: 7.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.904e-05/0.1041, allocations: 0 / 339.9 MB, free: 7.773 MB / 286.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.001742/0.1059, allocations: 0.9035 MB / 340.8 MB, free: 6.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1059, allocations: 12.03 kB / 340.8 MB, free: 6.809 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.325e-05/0.106, allocations: 46.73 kB / 340.9 MB, free: 6.754 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.1061, allocations: 48.38 kB / 340.9 MB, free: 6.707 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/0.1066, allocations: 350.2 kB / 341.3 MB, free: 6.324 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.1066, allocations: 16.66 kB / 341.3 MB, free: 6.309 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.1067, allocations: 36.05 kB / 341.3 MB, free: 6.273 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.1072, allocations: 307 kB / 341.6 MB, free: 5.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1072, allocations: 0 / 341.6 MB, free: 5.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.1072, allocations: 15.94 kB / 341.6 MB, free: 5.914 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1073, allocations: 7.984 kB / 341.7 MB, free: 5.906 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.1076, allocations: 147.8 kB / 341.8 MB, free: 5.762 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.1088, allocations: 0.6717 MB / 342.5 MB, free: 5.039 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.1095, allocations: 314.6 kB / 342.8 MB, free: 4.723 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.1097, allocations: 112.8 kB / 342.9 MB, free: 4.609 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1097, allocations: 0 / 342.9 MB, free: 4.609 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.1097, allocations: 38.56 kB / 342.9 MB, free: 4.562 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.082e-06/0.1097, allocations: 0 / 342.9 MB, free: 4.562 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006969/0.1104, allocations: 380.9 kB / 343.3 MB, free: 4.184 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/0.1106, allocations: 363.8 kB / 343.7 MB, free: 3.742 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/0.1111, allocations: 417.9 kB / 344.1 MB, free: 3.328 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.1111, allocations: 33.64 kB / 344.1 MB, free: 3.289 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1113, allocations: 200.7 kB / 344.3 MB, free: 3.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.025e-05/0.1114, allocations: 82.81 kB / 344.4 MB, free: 3.008 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.1115, allocations: 105.5 kB / 344.5 MB, free: 2.898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1117, allocations: 358.7 kB / 344.8 MB, free: 2.539 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.112, allocations: 204.4 kB / 345 MB, free: 2.34 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005344/0.1126, allocations: 318.2 kB / 345.3 MB, free: 1.992 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005909/0.1132, allocations: 397.6 kB / 345.7 MB, free: 1.602 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1132, allocations: 0 / 345.7 MB, free: 1.602 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0011/0.1143, allocations: 0.6535 MB / 346.4 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.1143, allocations: 4 kB / 346.4 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.1144, allocations: 12 kB / 346.4 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004528/0.1148, allocations: 130.3 kB / 346.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.1151, allocations: 59.95 kB / 346.6 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00355/0.1187, allocations: 4.573 MB / 351.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.1189, allocations: 43.55 kB / 351.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.1189, allocations: 12 kB / 351.2 MB, free: 11.67 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.0001996/0.1192, allocations: 177.8 kB / 351.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.1192, allocations: 39.53 kB / 351.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.835e-05/0.1193, allocations: 39.75 kB / 351.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1193, allocations: 7.938 kB / 351.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1193, allocations: 0 / 351.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1194, allocations: 3.984 kB / 351.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.1197, allocations: 345.3 kB / 351.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.1198, allocations: 8 kB / 351.8 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.12, allocations: 43.84 kB / 351.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.12, allocations: 4 kB / 351.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.1201, allocations: 11.98 kB / 351.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1201, allocations: 3.938 kB / 351.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1201, allocations: 0 / 351.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000666/0.1208, allocations: 0.4987 MB / 352.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.857e-05/0.1209, allocations: 116.5 kB / 352.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.1209, allocations: 19.94 kB / 352.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.1211, allocations: 15.98 kB / 352.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.1212, allocations: 11.97 kB / 352.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.1212, allocations: 8 kB / 352.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002875/0.1215, allocations: 271.2 kB / 352.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1215, allocations: 3.938 kB / 352.8 MB, free: 9.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002073/0.1236, allocations: 0.6483 MB / 353.5 MB, free: 9.316 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.002505/0.1261, allocations: 1.606 MB / 355.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.1276, allocations: 0.9808 MB / 356 MB, free: 6.617 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.1276, allocations: 8.047 kB / 356.1 MB, free: 6.609 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.1278, allocations: 119.9 kB / 356.2 MB, free: 6.492 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006266/0.1284, allocations: 116.9 kB / 356.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/0.1346, allocations: 4.515 MB / 360.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.1351, allocations: 0.8419 MB / 361.6 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.1353, allocations: 66.92 kB / 361.7 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.1354, allocations: 131.4 kB / 361.8 MB, free: 0.707 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1354, allocations: 3.938 kB / 361.8 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1928/0.3282, allocations: 16.97 MB / 378.8 MB, free: 52.23 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.404/9.732, allocations: 7.516 kB / 378.8 MB, free: 52.23 MB / 318.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