Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 63.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3056, allocations: 50.54 MB / 408.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003315/0.309, allocations: 1.626 MB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00562/0.3146, allocations: 3.199 MB / 413.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.3148, allocations: 0 / 413.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.3152, allocations: 59.69 kB / 413.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.3154, allocations: 23.84 kB / 413.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003863/0.3192, allocations: 1.418 MB / 415.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.3195, allocations: 147.6 kB / 415.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.3197, allocations: 32.98 kB / 415.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.819e-05/0.3198, allocations: 51.84 kB / 415.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.32, allocations: 59.69 kB / 415.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.32, allocations: 8 kB / 415.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.3219, allocations: 1.382 MB / 416.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-05/0.322, allocations: 39.89 kB / 416.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.015e-05/0.3221, allocations: 55.67 kB / 416.8 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.3235, allocations: 1.193 MB / 418 MB, free: 8.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3235, allocations: 0 / 418 MB, free: 8.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3235, allocations: 4 kB / 418 MB, free: 8.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3235, allocations: 0 / 418 MB, free: 8.242 MB / 334.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.001153/0.3247, allocations: 0.5689 MB / 418.6 MB, free: 7.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.3247, allocations: 8.031 kB / 418.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.809e-05/0.3248, allocations: 42.69 kB / 418.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.3248, allocations: 16.84 kB / 418.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.3251, allocations: 220.1 kB / 418.9 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3252, allocations: 4.375 kB / 418.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.3252, allocations: 20.12 kB / 418.9 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.3255, allocations: 121.1 kB / 419 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3255, allocations: 0 / 419 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.3255, allocations: 7.938 kB / 419 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3255, allocations: 4 kB / 419 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.3257, allocations: 51.95 kB / 419.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006795/0.3264, allocations: 380.6 kB / 419.5 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.3268, allocations: 130.5 kB / 419.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/0.3269, allocations: 40.84 kB / 419.6 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.3269, allocations: 11.98 kB / 419.6 MB, free: 6.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.327, allocations: 38.55 kB / 419.7 MB, free: 6.414 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.327, allocations: 0 / 419.7 MB, free: 6.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002365/0.3294, allocations: 1.217 MB / 420.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.784e-05/0.3295, allocations: 132.5 kB / 421 MB, free: 4.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3296, allocations: 182.2 kB / 421.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.3297, allocations: 29.64 kB / 421.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.3298, allocations: 120.5 kB / 421.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.3298, allocations: 47.59 kB / 421.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.3299, allocations: 45.7 kB / 421.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3301, allocations: 326.8 kB / 421.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.3303, allocations: 95.94 kB / 421.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.3305, allocations: 135.3 kB / 422 MB, free: 3.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.3308, allocations: 208.7 kB / 422.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3308, allocations: 0 / 422.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005863/0.3314, allocations: 310.1 kB / 422.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3315, allocations: 4 kB / 422.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.3315, allocations: 4 kB / 422.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.3317, allocations: 44.81 kB / 422.5 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.3319, allocations: 27.98 kB / 422.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/0.3336, allocations: 1.523 MB / 424.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.296e-05/0.3337, allocations: 4.031 kB / 424.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.3337, allocations: 8 kB / 424.1 MB, free: 1.617 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 (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.0001561/0.3339, allocations: 134 kB / 424.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.3339, allocations: 15.91 kB / 424.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.334, allocations: 29.52 kB / 424.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.334, allocations: 64 / 424.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.334, allocations: 7.938 kB / 424.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.334, allocations: 3.938 kB / 424.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.3343, allocations: 245.5 kB / 424.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3343, allocations: 0 / 424.5 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.3346, allocations: 47.97 kB / 424.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3346, allocations: 4 kB / 424.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3346, allocations: 4.656 kB / 424.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3347, allocations: 0 / 424.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3347, allocations: 3.938 kB / 424.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.3353, allocations: 418.2 kB / 425 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.3354, allocations: 89.02 kB / 425.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3354, allocations: 8.031 kB / 425.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3355, allocations: 8 kB / 425.1 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.3356, allocations: 15.86 kB / 425.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.3356, allocations: 8 kB / 425.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.3357, allocations: 124.2 kB / 425.2 MB, free: 396 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3357, allocations: 4 kB / 425.3 MB, free: 392 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001848/0.3376, allocations: 0.5155 MB / 425.8 MB, free: 15.86 MB / 350.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.002023/0.3396, allocations: 1.395 MB / 427.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007515/0.3404, allocations: 395.3 kB / 427.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3404, allocations: 0 / 427.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.3405, allocations: 87.89 kB / 427.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3409, allocations: 31.91 kB / 427.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.3441, allocations: 2.464 MB / 430.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.3446, allocations: 0.728 MB / 430.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.3447, allocations: 29.06 kB / 430.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.817e-05/0.3448, allocations: 51.36 kB / 430.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3448, allocations: 0 / 430.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/0.3851, allocations: 9.885 MB / 440.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.73, allocations: 3.938 kB / 440.8 MB, free: 0.7617 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches