Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001687/0.001687, allocations: 117.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001914/0.001914, allocations: 203.8 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2796, allocations: 50.54 MB / 408.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003844/0.2835, allocations: 2.83 MB / 411.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2847, allocations: 0.6466 MB / 412.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.2849, allocations: 7.938 kB / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.2851, allocations: 47.56 kB / 412.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.2853, allocations: 87.19 kB / 412.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.2855, allocations: 79.83 kB / 412.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.2859, allocations: 346.9 kB / 412.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.2861, allocations: 151.3 kB / 413 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.2863, allocations: 131.6 kB / 413.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.2865, allocations: 151.3 kB / 413.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.897e-05/0.2865, allocations: 32 kB / 413.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.407e-05/0.2866, allocations: 32 kB / 413.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.2867, allocations: 71.75 kB / 413.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.2868, allocations: 155.3 kB / 413.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.2872, allocations: 357.5 kB / 413.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2872, allocations: 0 / 413.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2872, allocations: 4 kB / 413.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2872, allocations: 0 / 413.9 MB, free: 12.46 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009091/0.2881, allocations: 0.6039 MB / 414.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.2882, allocations: 12.03 kB / 414.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.114e-05/0.2882, allocations: 70.59 kB / 414.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/0.2883, allocations: 32.75 kB / 414.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.2887, allocations: 259.9 kB / 414.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.2887, allocations: 20.94 kB / 414.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.2888, allocations: 28.38 kB / 414.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.2892, allocations: 252.9 kB / 415.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2892, allocations: 4 kB / 415.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.2893, allocations: 12 kB / 415.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.2893, allocations: 8 kB / 415.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.2896, allocations: 182.2 kB / 415.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.291, allocations: 1.01 MB / 416.3 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.2914, allocations: 328.9 kB / 416.7 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.2916, allocations: 159.1 kB / 416.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.2917, allocations: 4 kB / 416.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.2917, allocations: 30.56 kB / 416.9 MB, free: 9.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.512e-06/0.2917, allocations: 4 kB / 416.9 MB, free: 9.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001378/0.2931, allocations: 0.7796 MB / 417.6 MB, free: 8.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.2931, allocations: 55.41 kB / 417.7 MB, free: 8.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.2933, allocations: 195.2 kB / 417.9 MB, free: 8.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2934, allocations: 29.7 kB / 417.9 MB, free: 8.098 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.2935, allocations: 172.6 kB / 418.1 MB, free: 7.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.2935, allocations: 99.09 kB / 418.2 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.2936, allocations: 53.98 kB / 418.2 MB, free: 7.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2937, allocations: 334.8 kB / 418.6 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.2939, allocations: 68.53 kB / 418.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.294, allocations: 107.6 kB / 418.7 MB, free: 7.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.2943, allocations: 173.7 kB / 418.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2943, allocations: 0 / 418.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004907/0.2948, allocations: 318.1 kB / 419.2 MB, free: 6.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2948, allocations: 8.031 kB / 419.2 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2948, allocations: 0 / 419.2 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/0.2951, allocations: 92.69 kB / 419.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.2953, allocations: 55.84 kB / 419.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.2972, allocations: 2.08 MB / 421.4 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.2974, allocations: 11.97 kB / 421.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.2974, allocations: 8 kB / 421.5 MB, free: 4.371 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.0001305/0.2975, allocations: 145.7 kB / 421.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.2976, allocations: 23.86 kB / 421.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.2976, allocations: 25.88 kB / 421.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2976, allocations: 64 / 421.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2976, allocations: 8 kB / 421.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2977, allocations: 7.922 kB / 421.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000982/0.2986, allocations: 0.741 MB / 422.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2987, allocations: 7.984 kB / 422.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.2988, allocations: 39.98 kB / 422.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.299, allocations: 72.73 kB / 422.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.2991, allocations: 8 kB / 422.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.3007, allocations: 1.987 MB / 424.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3007, allocations: 8.094 kB / 424.5 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006042/0.3013, allocations: 464.2 kB / 425 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.3014, allocations: 96.95 kB / 425.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.3014, allocations: 8.062 kB / 425.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.3016, allocations: 16 kB / 425.1 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.3017, allocations: 19.97 kB / 425.1 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3017, allocations: 4 kB / 425.1 MB, free: 468 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.3018, allocations: 144.4 kB / 425.3 MB, free: 324 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3018, allocations: 0 / 425.3 MB, free: 324 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004074/0.3022, allocations: 76 kB / 425.3 MB, free: 248 kB / 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.0009192/0.3032, allocations: 1.002 MB / 426.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006283/0.3038, allocations: 374.7 kB / 426.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3038, allocations: 0 / 426.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004015/0.3042, allocations: 262.4 kB / 427 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.3046, allocations: 40.3 kB / 427 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.3079, allocations: 2.832 MB / 429.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3082, allocations: 0.7712 MB / 430.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.42e-05/0.3083, allocations: 18.3 kB / 430.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.3084, allocations: 83.41 kB / 430.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3085, allocations: 4 kB / 430.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03885/0.3473, allocations: 5.78 MB / 436.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.602/9.95, allocations: 20.19 kB / 436.5 MB, free: 5.047 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches