Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",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.001128/0.001128, allocations: 114.2 kB / 17.07 MB, free: 5.988 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.001017/0.001017, allocations: 195 kB / 18 MB, free: 5.074 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 51.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2828, allocations: 49.44 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00412/0.287, allocations: 2.812 MB / 403.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2882, allocations: 0.6115 MB / 403.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.2885, allocations: 8 kB / 403.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.2887, allocations: 51.5 kB / 403.7 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.289, allocations: 95.17 kB / 403.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.2892, allocations: 75.84 kB / 403.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005287/0.2898, allocations: 342.9 kB / 404.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003832/0.2902, allocations: 143.4 kB / 404.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.2905, allocations: 131.5 kB / 404.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.2908, allocations: 147.4 kB / 404.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.221e-05/0.2909, allocations: 32 kB / 404.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-05/0.291, allocations: 32 kB / 404.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.103e-05/0.2911, allocations: 71.69 kB / 404.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.2914, allocations: 167.2 kB / 404.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005532/0.2919, allocations: 349.6 kB / 405.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.292, allocations: 0 / 405.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.541e-06/0.292, allocations: 4 kB / 405.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.292, allocations: 4 kB / 405.3 MB, free: 3.738 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001301/0.2933, allocations: 0.6078 MB / 405.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.2934, allocations: 12.03 kB / 405.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.731e-05/0.2935, allocations: 62.72 kB / 406 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.2936, allocations: 40.69 kB / 406 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.294, allocations: 255.9 kB / 406.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.2941, allocations: 24.94 kB / 406.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.414e-05/0.2942, allocations: 24.38 kB / 406.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006496/0.2948, allocations: 253 kB / 406.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.2949, allocations: 0 / 406.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.2949, allocations: 11.94 kB / 406.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.2949, allocations: 12 kB / 406.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.2955, allocations: 186.2 kB / 406.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.297, allocations: 1.01 MB / 407.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.2974, allocations: 324.9 kB / 408.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.2977, allocations: 155.9 kB / 408.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.2977, allocations: 0 / 408.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.2977, allocations: 34.56 kB / 408.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.2977, allocations: 0 / 408.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.002081/0.2998, allocations: 0.7834 MB / 409.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.2999, allocations: 59.34 kB / 409.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.3002, allocations: 190.3 kB / 409.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.3002, allocations: 33.7 kB / 409.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3004, allocations: 176.6 kB / 409.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.586e-05/0.3005, allocations: 95.17 kB / 409.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3006, allocations: 45.98 kB / 409.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3008, allocations: 338.8 kB / 410 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.301, allocations: 72.47 kB / 410 MB, free: 14.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.3013, allocations: 107.6 kB / 410.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.3018, allocations: 178.2 kB / 410.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3018, allocations: 0 / 410.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007005/0.3025, allocations: 318.1 kB / 410.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3025, allocations: 8 kB / 410.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3025, allocations: 4.031 kB / 410.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003646/0.3029, allocations: 80.81 kB / 410.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.3032, allocations: 55.84 kB / 410.8 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.3062, allocations: 2.092 MB / 412.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.3064, allocations: 15.95 kB / 412.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.3065, allocations: 12 kB / 412.9 MB, free: 11.63 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * 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: 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.3067, allocations: 129.8 kB / 413 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.068e-05/0.3068, allocations: 23.86 kB / 413.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.3069, allocations: 29.88 kB / 413.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3069, allocations: 4 kB / 413.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3069, allocations: 0 / 413.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.3069, allocations: 11.98 kB / 413.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.3086, allocations: 0.7448 MB / 413.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3086, allocations: 0 / 413.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.3089, allocations: 31.98 kB / 413.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002938/0.3092, allocations: 80.73 kB / 414 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.3092, allocations: 4 kB / 414 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.3118, allocations: 1.991 MB / 415.9 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3118, allocations: 0 / 415.9 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000929/0.3127, allocations: 463.9 kB / 416.4 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/0.3128, allocations: 97 kB / 416.5 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.3129, allocations: 4.062 kB / 416.5 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.3132, allocations: 12 kB / 416.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.3133, allocations: 27.91 kB / 416.5 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.3133, allocations: 7.984 kB / 416.5 MB, free: 7.734 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.3135, allocations: 144.3 kB / 416.7 MB, free: 7.594 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3135, allocations: 0 / 416.7 MB, free: 7.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005344/0.3141, allocations: 76 kB / 416.8 MB, free: 7.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * 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: 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001392/0.3155, allocations: 1.014 MB / 417.8 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009475/0.3164, allocations: 370.7 kB / 418.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.3165, allocations: 4 kB / 418.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006475/0.3171, allocations: 254.5 kB / 418.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.3176, allocations: 40.38 kB / 418.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.3224, allocations: 2.832 MB / 421.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.3228, allocations: 0.7674 MB / 422 MB, free: 2.078 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.24e-05/0.3229, allocations: 18.23 kB / 422 MB, free: 2.062 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.323, allocations: 87.41 kB / 422.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.323, allocations: 7.938 kB / 422.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.3559, allocations: 5.778 MB / 427.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.743/10.1, allocations: 3.984 kB / 427.9 MB, free: 12.32 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches