Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_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.001424/0.001424, allocations: 108.8 kB / 16.92 MB, free: 6.145 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.001526/0.001526, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009527/0.0009528, allocations: 46.48 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0791/0.08007, allocations: 49.45 MB / 350.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002633/0.08274, allocations: 1.603 MB / 351.8 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004403/0.08716, allocations: 3.169 MB / 354.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.08725, allocations: 0 / 354.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.08756, allocations: 47.7 kB / 355 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.08762, allocations: 15.86 kB / 355 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.09047, allocations: 1.421 MB / 356.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.09068, allocations: 147.6 kB / 356.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.09078, allocations: 29.06 kB / 356.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.09085, allocations: 51.83 kB / 356.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.626e-05/0.09095, allocations: 55.7 kB / 356.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.09098, allocations: 8 kB / 356.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.09237, allocations: 1.378 MB / 358.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.09245, allocations: 35.89 kB / 358.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.09252, allocations: 59.67 kB / 358.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009704/0.0935, allocations: 1.193 MB / 359.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.09351, allocations: 0 / 359.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09352, allocations: 0 / 359.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.09353, allocations: 0 / 359.4 MB, free: 11.11 MB / 302.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.0008463/0.09438, allocations: 0.5613 MB / 359.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.09443, allocations: 15.89 kB / 359.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.09447, allocations: 42.69 kB / 360 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.09452, allocations: 24.73 kB / 360 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.09474, allocations: 220.6 kB / 360.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.09476, allocations: 7.938 kB / 360.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.09479, allocations: 8 kB / 360.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.09502, allocations: 125 kB / 360.4 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.09504, allocations: 0 / 360.4 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.09506, allocations: 11.94 kB / 360.4 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.09507, allocations: 4 kB / 360.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.09522, allocations: 55.95 kB / 360.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.09576, allocations: 380.4 kB / 360.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.09613, allocations: 130.6 kB / 360.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.238e-05/0.09622, allocations: 36.84 kB / 361 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.09624, allocations: 0 / 361 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.09627, allocations: 50.61 kB / 361 MB, free: 9.273 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.09628, allocations: 0 / 361 MB, free: 9.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002156/0.09844, allocations: 1.213 MB / 362.2 MB, free: 7.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.09852, allocations: 136.5 kB / 362.4 MB, free: 7.766 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.09867, allocations: 175.3 kB / 362.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.0987, allocations: 33.7 kB / 362.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.09877, allocations: 108.4 kB / 362.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.09882, allocations: 51.27 kB / 362.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.0989, allocations: 45.7 kB / 362.8 MB, free: 7.336 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.09901, allocations: 330.8 kB / 363.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.09917, allocations: 91.94 kB / 363.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.09937, allocations: 135.3 kB / 363.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.09967, allocations: 197 kB / 363.5 MB, free: 6.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.09968, allocations: 4 kB / 363.5 MB, free: 6.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005132/0.1002, allocations: 313.9 kB / 363.8 MB, free: 6.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1002, allocations: 8 kB / 363.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.1003, allocations: 0 / 363.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.1004, allocations: 48.75 kB / 363.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.1006, allocations: 31.92 kB / 363.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.1018, allocations: 1.515 MB / 365.4 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.983e-05/0.1019, allocations: 8.188 kB / 365.4 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.1019, allocations: 8 kB / 365.4 MB, free: 4.488 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 (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 0.0001124/0.102, allocations: 137.7 kB / 365.6 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.1021, allocations: 15.81 kB / 365.6 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.656e-05/0.1021, allocations: 25.52 kB / 365.6 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1021, allocations: 7.938 kB / 365.6 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1022, allocations: 4 kB / 365.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1022, allocations: 0 / 365.6 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.1024, allocations: 249.5 kB / 365.9 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1024, allocations: 0 / 365.9 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.1027, allocations: 51.91 kB / 365.9 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1027, allocations: 0 / 365.9 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1027, allocations: 8 kB / 365.9 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1027, allocations: 3.938 kB / 365.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1028, allocations: 0 / 365.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.1033, allocations: 407.1 kB / 366.3 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.1033, allocations: 92.92 kB / 366.4 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1033, allocations: 4.047 kB / 366.4 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1035, allocations: 15.92 kB / 366.4 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.1035, allocations: 7.984 kB / 366.4 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.1035, allocations: 4 kB / 366.4 MB, free: 3.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.614e-05/0.1036, allocations: 124.2 kB / 366.6 MB, free: 3.262 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1036, allocations: 0 / 366.6 MB, free: 3.262 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001357/0.105, allocations: 0.5156 MB / 367.1 MB, free: 2.746 MB / 302.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.001779/0.1068, allocations: 1.396 MB / 368.5 MB, free: 1.336 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007078/0.1075, allocations: 409.9 kB / 368.9 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1075, allocations: 3.938 kB / 368.9 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.1077, allocations: 83.89 kB / 369 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.108, allocations: 35.91 kB / 369 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1333/0.2414, allocations: 2.418 MB / 371.4 MB, free: 23.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.2416, allocations: 0.7331 MB / 372.1 MB, free: 23.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.2417, allocations: 33.58 kB / 372.2 MB, free: 23.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.2418, allocations: 46.83 kB / 372.2 MB, free: 23.27 MB / 302.1 MB Notification: Performance of SimCode: time 1.513e-06/0.2418, allocations: 3.188 kB / 372.2 MB, free: 23.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.2738, allocations: 9.825 MB / 382.1 MB, free: 20.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.948/9.222, allocations: 1.219 kB / 382.1 MB, free: 20.54 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches