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.00146/0.00146, allocations: 100.4 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.001444/0.001444, allocations: 196 kB / 18.51 MB, free: 4.504 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.354/1.354, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001658/0.001658, allocations: 55.92 kB / 280.7 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09415, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003231/0.09741, allocations: 2.002 MB / 329.4 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005872/0.1033, allocations: 3.715 MB / 333.1 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.1035, allocations: 15.81 kB / 333.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.104, allocations: 175.1 kB / 333.3 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.1041, allocations: 51.56 kB / 333.3 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004044/0.1082, allocations: 1.941 MB / 335.3 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005414/0.1087, allocations: 494.8 kB / 335.7 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1089, allocations: 41.09 kB / 335.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.109, allocations: 175.5 kB / 336 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1093, allocations: 171.1 kB / 336.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.873e-05/0.1093, allocations: 20 kB / 336.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.1115, allocations: 1.741 MB / 337.9 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.1117, allocations: 123.6 kB / 338 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.1118, allocations: 166.9 kB / 338.2 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.1136, allocations: 1.758 MB / 339.9 MB, free: 7.766 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1136, allocations: 4 kB / 339.9 MB, free: 7.762 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1136, allocations: 0 / 339.9 MB, free: 7.762 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1136, allocations: 4 kB / 339.9 MB, free: 7.758 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.001451/0.1151, allocations: 0.8958 MB / 340.8 MB, free: 6.812 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1151, allocations: 12.03 kB / 340.8 MB, free: 6.801 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/0.1152, allocations: 54.73 kB / 340.9 MB, free: 6.738 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.1153, allocations: 44.38 kB / 340.9 MB, free: 6.695 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.1157, allocations: 350.2 kB / 341.3 MB, free: 6.312 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.1157, allocations: 16.66 kB / 341.3 MB, free: 6.297 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.1158, allocations: 32.11 kB / 341.3 MB, free: 6.266 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.1162, allocations: 307 kB / 341.6 MB, free: 5.922 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1163, allocations: 3.938 kB / 341.6 MB, free: 5.918 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.1163, allocations: 8 kB / 341.6 MB, free: 5.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1163, allocations: 4 kB / 341.6 MB, free: 5.906 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.1166, allocations: 151.8 kB / 341.8 MB, free: 5.758 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.1177, allocations: 0.6717 MB / 342.5 MB, free: 5.035 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.1184, allocations: 326.3 kB / 342.8 MB, free: 4.707 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.1186, allocations: 100.8 kB / 342.9 MB, free: 4.605 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.1186, allocations: 4 kB / 342.9 MB, free: 4.602 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.1186, allocations: 38.56 kB / 342.9 MB, free: 4.555 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.1187, allocations: 0 / 342.9 MB, free: 4.555 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006979/0.1194, allocations: 385.2 kB / 343.3 MB, free: 4.172 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/0.1196, allocations: 371.8 kB / 343.7 MB, free: 3.723 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004148/0.12, allocations: 409.8 kB / 344.1 MB, free: 3.316 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.12, allocations: 33.7 kB / 344.1 MB, free: 3.277 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1202, allocations: 196.7 kB / 344.3 MB, free: 3.082 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.116e-05/0.1203, allocations: 82.8 kB / 344.4 MB, free: 3 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.1204, allocations: 105.5 kB / 344.5 MB, free: 2.891 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1206, allocations: 362.7 kB / 344.8 MB, free: 2.527 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.1209, allocations: 204.4 kB / 345 MB, free: 2.328 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.1214, allocations: 314.2 kB / 345.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.122, allocations: 401.5 kB / 345.7 MB, free: 1.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.122, allocations: 4 kB / 345.7 MB, free: 1.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001112/0.1231, allocations: 0.6457 MB / 346.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1231, allocations: 4 kB / 346.4 MB, free: 0.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.1231, allocations: 15.92 kB / 346.4 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004215/0.1236, allocations: 126.5 kB / 346.5 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.1239, allocations: 67.89 kB / 346.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003961/0.1278, allocations: 4.562 MB / 351.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.128, allocations: 43.55 kB / 351.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.1281, allocations: 12 kB / 351.2 MB, free: 11.66 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.0002006/0.1283, allocations: 177.8 kB / 351.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.1284, allocations: 39.53 kB / 351.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.1285, allocations: 43.75 kB / 351.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1285, allocations: 7.938 kB / 351.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.1285, allocations: 0 / 351.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1285, allocations: 0 / 351.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.1289, allocations: 357.2 kB / 351.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1289, allocations: 4 kB / 351.8 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.1292, allocations: 43.92 kB / 351.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1292, allocations: 4 kB / 351.9 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.1292, allocations: 11.98 kB / 351.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1292, allocations: 3.938 kB / 351.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1292, allocations: 0 / 351.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007066/0.13, allocations: 0.4987 MB / 352.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/0.13, allocations: 112.5 kB / 352.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.1301, allocations: 23.92 kB / 352.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.1303, allocations: 15.98 kB / 352.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.1303, allocations: 11.92 kB / 352.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1304, allocations: 8.109 kB / 352.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.1307, allocations: 279.1 kB / 352.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1307, allocations: 0 / 352.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001704/0.1324, allocations: 0.6444 MB / 353.5 MB, free: 9.305 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.002322/0.1347, allocations: 1.607 MB / 355.1 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.1362, allocations: 0.9848 MB / 356.1 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1362, allocations: 3.938 kB / 356.1 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.1365, allocations: 119.8 kB / 356.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.137, allocations: 120.9 kB / 356.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00648/0.1435, allocations: 4.515 MB / 360.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.1441, allocations: 0.838 MB / 361.6 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.1443, allocations: 58.92 kB / 361.7 MB, free: 0.832 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.1445, allocations: 143.3 kB / 361.8 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1445, allocations: 0 / 361.8 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1774/0.3219, allocations: 16.97 MB / 378.8 MB, free: 52.36 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.933/10.25, allocations: 5.234 kB / 378.8 MB, free: 52.36 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