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.001417/0.001417, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001421/0.00142, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.325/1.325, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001369/0.001369, allocations: 51.94 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08735/0.08873, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003153/0.09192, allocations: 1.597 MB / 376.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005145/0.0971, allocations: 3.2 MB / 379.4 MB, free: 256 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.09728, allocations: 3.938 kB / 379.4 MB, free: 252 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.09773, allocations: 59.75 kB / 379.5 MB, free: 192 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.09786, allocations: 11.86 kB / 379.5 MB, free: 180 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1767/0.2746, allocations: 1.411 MB / 380.9 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.2749, allocations: 155.2 kB / 381.1 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.275, allocations: 23.22 kB / 381.1 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.001e-05/0.275, allocations: 59.27 kB / 381.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.993e-05/0.2752, allocations: 51.72 kB / 381.2 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.2752, allocations: 8.062 kB / 381.2 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.2771, allocations: 1.378 MB / 382.6 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.2772, allocations: 35.78 kB / 382.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.2773, allocations: 61.53 kB / 382.7 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.2787, allocations: 1.198 MB / 383.9 MB, free: 8.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.2787, allocations: 1.594 kB / 383.9 MB, free: 8.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.2788, allocations: 0 / 383.9 MB, free: 8.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.2788, allocations: 0 / 383.9 MB, free: 8.684 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.001285/0.2801, allocations: 0.5686 MB / 384.4 MB, free: 8.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2801, allocations: 11.53 kB / 384.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.2802, allocations: 40.05 kB / 384.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.2802, allocations: 16.84 kB / 384.5 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.2804, allocations: 217.8 kB / 384.7 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.2804, allocations: 7.188 kB / 384.7 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.2805, allocations: 14.53 kB / 384.8 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.2807, allocations: 136.8 kB / 384.9 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2807, allocations: 0 / 384.9 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2807, allocations: 1.531 kB / 384.9 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2807, allocations: 1.219 kB / 384.9 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.2809, allocations: 55.56 kB / 384.9 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.2814, allocations: 387.1 kB / 385.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.2818, allocations: 127.3 kB / 385.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.283e-05/0.2819, allocations: 39.42 kB / 385.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.2819, allocations: 1.438 kB / 385.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.2819, allocations: 36.3 kB / 385.5 MB, free: 7.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.2819, allocations: 6.062 kB / 385.5 MB, free: 7.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001983/0.2839, allocations: 1.221 MB / 386.7 MB, free: 6.934 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.284, allocations: 131.4 kB / 386.9 MB, free: 6.777 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.2841, allocations: 172.8 kB / 387 MB, free: 6.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2841, allocations: 30.7 kB / 387.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.2842, allocations: 111.7 kB / 387.2 MB, free: 6.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.2842, allocations: 54.39 kB / 387.2 MB, free: 6.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/0.2843, allocations: 50.08 kB / 387.3 MB, free: 6.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.2844, allocations: 326.4 kB / 387.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.2845, allocations: 95.61 kB / 387.7 MB, free: 6.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.2847, allocations: 135.8 kB / 387.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.285, allocations: 198.6 kB / 388 MB, free: 6.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.285, allocations: 4 kB / 388 MB, free: 6.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004997/0.2856, allocations: 310.9 kB / 388.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2856, allocations: 5.938 kB / 388.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.2856, allocations: 1.953 kB / 388.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.2858, allocations: 46.36 kB / 388.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.286, allocations: 29.16 kB / 388.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009758/0.2869, allocations: 1.521 MB / 389.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2871, allocations: 18.61 kB / 389.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.2871, allocations: 5.594 kB / 390 MB, free: 4.527 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 0.0001052/0.2872, allocations: 137 kB / 390.1 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.98e-05/0.2873, allocations: 15.34 kB / 390.1 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.2873, allocations: 24.92 kB / 390.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2873, allocations: 2.219 kB / 390.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2873, allocations: 0.75 kB / 390.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2873, allocations: 5.734 kB / 390.1 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.2875, allocations: 252 kB / 390.4 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2876, allocations: 0 / 390.4 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.2878, allocations: 55.36 kB / 390.4 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2878, allocations: 1.281 kB / 390.4 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.2879, allocations: 5.438 kB / 390.4 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2879, allocations: 0 / 390.4 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2879, allocations: 1.094 kB / 390.4 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.2884, allocations: 418.2 kB / 390.9 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.2884, allocations: 91.38 kB / 390.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.2884, allocations: 5.641 kB / 390.9 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.2885, allocations: 5.203 kB / 391 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.2886, allocations: 9.906 kB / 391 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.2886, allocations: 10.69 kB / 391 MB, free: 3.789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.703e-05/0.2887, allocations: 130.4 kB / 391.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2887, allocations: 0 / 391.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002195/0.2909, allocations: 0.5141 MB / 391.6 MB, free: 3.684 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.002117/0.293, allocations: 1.405 MB / 393 MB, free: 2.898 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006488/0.2937, allocations: 394.4 kB / 393.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2937, allocations: 1.125 kB / 393.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.2939, allocations: 87.98 kB / 393.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.2942, allocations: 41.5 kB / 393.5 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.2973, allocations: 2.45 MB / 396 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.2976, allocations: 0.7326 MB / 396.7 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.2977, allocations: 30.53 kB / 396.7 MB, free: 320 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.2978, allocations: 45.3 kB / 396.8 MB, free: 288 kB / 318.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2978, allocations: 0 / 396.8 MB, free: 288 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1173/0.4151, allocations: 9.898 MB / 406.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.6, allocations: 13.53 kB / 406.7 MB, free: 12.25 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