Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.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.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",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.001629/0.00163, allocations: 114.5 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.001606/0.001606, allocations: 187 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.396/1.396, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001647/0.001647, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08825/0.0899, allocations: 46.63 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003035/0.09299, allocations: 1.597 MB / 376.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00511/0.09813, allocations: 3.196 MB / 379.4 MB, free: 260 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.09826, allocations: 7.938 kB / 379.4 MB, free: 252 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.09862, allocations: 63.69 kB / 379.5 MB, free: 188 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.755e-05/0.09869, allocations: 15.86 kB / 379.5 MB, free: 172 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.176/0.2747, allocations: 1.399 MB / 380.9 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.2751, allocations: 150.9 kB / 381.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2752, allocations: 24.59 kB / 381.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.087e-05/0.2753, allocations: 59.59 kB / 381.1 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.2754, allocations: 49.12 kB / 381.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.2754, allocations: 7.594 kB / 381.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.2773, allocations: 1.382 MB / 382.6 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.2774, allocations: 36.78 kB / 382.6 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.245e-05/0.2775, allocations: 53.28 kB / 382.7 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.2788, allocations: 1.206 MB / 383.9 MB, free: 9.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2789, allocations: 0 / 383.9 MB, free: 9.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.2789, allocations: 0.8438 kB / 383.9 MB, free: 9.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2789, allocations: 0 / 383.9 MB, free: 9.086 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00108/0.28, allocations: 0.5714 MB / 384.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.28, allocations: 9.062 kB / 384.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.2801, allocations: 39.52 kB / 384.5 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.2801, allocations: 16.97 kB / 384.5 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.2803, allocations: 213.4 kB / 384.7 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.2804, allocations: 6.094 kB / 384.7 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.2804, allocations: 16.88 kB / 384.7 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.2806, allocations: 131.2 kB / 384.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2807, allocations: 3.516 kB / 384.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.2807, allocations: 6.953 kB / 384.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.2807, allocations: 2.125 kB / 384.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.2808, allocations: 57.09 kB / 384.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.2814, allocations: 382.7 kB / 385.3 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.2818, allocations: 130.4 kB / 385.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/0.2819, allocations: 39.61 kB / 385.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.2819, allocations: 1.062 kB / 385.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.2819, allocations: 35.78 kB / 385.5 MB, free: 7.996 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.2819, allocations: 6.062 kB / 385.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002036/0.284, allocations: 1.225 MB / 386.7 MB, free: 7.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.284, allocations: 131.5 kB / 386.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.2842, allocations: 172.2 kB / 387 MB, free: 6.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2842, allocations: 31.8 kB / 387.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.2843, allocations: 110.9 kB / 387.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.2843, allocations: 56.88 kB / 387.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.2844, allocations: 49.08 kB / 387.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.2844, allocations: 327.1 kB / 387.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.2846, allocations: 93.2 kB / 387.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.2848, allocations: 135.5 kB / 387.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.2851, allocations: 198.5 kB / 388 MB, free: 6.285 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2851, allocations: 0 / 388 MB, free: 6.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000521/0.2856, allocations: 314.4 kB / 388.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.2857, allocations: 6.359 kB / 388.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.2857, allocations: 1.062 kB / 388.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.2859, allocations: 39.45 kB / 388.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2861, allocations: 37.66 kB / 388.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009306/0.287, allocations: 1.515 MB / 389.9 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.894e-05/0.2871, allocations: 17.2 kB / 389.9 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2871, allocations: 11.28 kB / 390 MB, free: 4.676 MB / 318.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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.349e-05/0.2872, allocations: 137.3 kB / 390.1 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.2873, allocations: 14.72 kB / 390.1 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.2873, allocations: 27.61 kB / 390.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2873, allocations: 1.094 kB / 390.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.2873, allocations: 1.125 kB / 390.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2874, allocations: 7.781 kB / 390.1 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.2876, allocations: 248.1 kB / 390.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2876, allocations: 0.6094 kB / 390.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.2879, allocations: 55.62 kB / 390.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2879, allocations: 0 / 390.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2879, allocations: 2.938 kB / 390.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2879, allocations: 0 / 390.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2879, allocations: 1.094 kB / 390.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004739/0.2884, allocations: 424.7 kB / 390.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.2884, allocations: 91.59 kB / 390.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.2885, allocations: 2.609 kB / 390.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2886, allocations: 7.719 kB / 391 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.2886, allocations: 8.234 kB / 391 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.2886, allocations: 7.562 kB / 391 MB, free: 3.941 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.787e-05/0.2887, allocations: 131.4 kB / 391.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2887, allocations: 0 / 391.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002376/0.2911, allocations: 0.5189 MB / 391.6 MB, free: 3.832 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.00209/0.2932, allocations: 1.393 MB / 393 MB, free: 3.055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006435/0.2939, allocations: 394.9 kB / 393.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2939, allocations: 0 / 393.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.294, allocations: 87.75 kB / 393.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.2944, allocations: 38.39 kB / 393.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.297, allocations: 2.451 MB / 396 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.2972, allocations: 0.7321 MB / 396.7 MB, free: 480 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.2974, allocations: 34.2 kB / 396.7 MB, free: 476 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.2974, allocations: 43.98 kB / 396.8 MB, free: 444 kB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2974, allocations: 0 / 396.8 MB, free: 444 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04474/0.3422, allocations: 9.899 MB / 406.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.24/10.59, allocations: 13.62 kB / 406.7 MB, free: 12.39 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_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_FilterWithDifferentiation.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches