Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_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.001807/0.001807, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.002055/0.002055, allocations: 187 kB / 18.67 MB, free: 4.387 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.534/1.534, 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.001825/0.001825, allocations: 55.92 kB / 328 MB, free: 3.785 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1326, allocations: 46.61 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004727/0.1374, allocations: 2.773 MB / 377.4 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1388, allocations: 0.655 MB / 378.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.139, allocations: 4 kB / 378.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.1392, allocations: 47.5 kB / 378.1 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.1395, allocations: 91.19 kB / 378.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.1397, allocations: 79.89 kB / 378.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.1401, allocations: 350.7 kB / 378.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.1404, allocations: 143.3 kB / 378.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.1406, allocations: 131.5 kB / 378.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.1409, allocations: 155.3 kB / 379.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.352e-05/0.141, allocations: 28 kB / 379.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/0.1411, allocations: 32 kB / 379.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1412, allocations: 71.7 kB / 379.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.1414, allocations: 155.3 kB / 379.3 MB, free: 352 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2585/0.3999, allocations: 365 kB / 379.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4, allocations: 0 / 379.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4, allocations: 0 / 379.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.4, allocations: 0.625 kB / 379.7 MB, free: 10.04 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.0009942/0.401, allocations: 0.5948 MB / 380.3 MB, free: 9.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4011, allocations: 10.38 kB / 380.3 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.37e-05/0.4011, allocations: 61.91 kB / 380.4 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.245e-05/0.4012, allocations: 40.59 kB / 380.4 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.4016, allocations: 251.5 kB / 380.6 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.4016, allocations: 27.3 kB / 380.7 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.4016, allocations: 31.98 kB / 380.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.4021, allocations: 254.9 kB / 381 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4021, allocations: 0 / 381 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.4022, allocations: 12.81 kB / 381 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.4022, allocations: 7.969 kB / 381 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.4025, allocations: 185.1 kB / 381.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.4039, allocations: 1.005 MB / 382.2 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.4044, allocations: 330.7 kB / 382.5 MB, free: 8.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.4046, allocations: 146.2 kB / 382.6 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.4047, allocations: 2.438 kB / 382.6 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.4047, allocations: 37.11 kB / 382.7 MB, free: 8.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.205e-06/0.4047, allocations: 3.938 kB / 382.7 MB, free: 8.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001528/0.4062, allocations: 0.7762 MB / 383.4 MB, free: 8.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.4063, allocations: 58.67 kB / 383.5 MB, free: 8.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.4065, allocations: 202.8 kB / 383.7 MB, free: 8.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.4065, allocations: 27.23 kB / 383.7 MB, free: 8.035 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.4066, allocations: 173.5 kB / 383.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.4067, allocations: 96.66 kB / 384 MB, free: 7.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-05/0.4068, allocations: 50.98 kB / 384 MB, free: 7.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.83e-05/0.4068, allocations: 336.2 kB / 384.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.407, allocations: 69.31 kB / 384.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.4071, allocations: 104 kB / 384.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.4074, allocations: 178.1 kB / 384.7 MB, free: 7.477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4074, allocations: 0 / 384.7 MB, free: 7.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005348/0.408, allocations: 318.1 kB / 385 MB, free: 7.422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.408, allocations: 9.781 kB / 385 MB, free: 7.418 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.408, allocations: 0 / 385 MB, free: 7.418 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/0.4083, allocations: 88.02 kB / 385.1 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.4085, allocations: 44.59 kB / 385.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.4103, allocations: 2.095 MB / 387.3 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.4104, allocations: 15.27 kB / 387.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.4105, allocations: 10.56 kB / 387.3 MB, free: 5.621 MB / 318.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.0001155/0.4106, allocations: 138.4 kB / 387.4 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.4106, allocations: 17.75 kB / 387.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/0.4107, allocations: 27.62 kB / 387.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4107, allocations: 5.781 kB / 387.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.4107, allocations: 5.781 kB / 387.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-05/0.4107, allocations: 9.891 kB / 387.5 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.4118, allocations: 0.7353 MB / 388.2 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4118, allocations: 0 / 388.2 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.412, allocations: 42.14 kB / 388.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002273/0.4122, allocations: 75.55 kB / 388.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.4122, allocations: 7.562 kB / 388.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.4136, allocations: 1.984 MB / 390.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4136, allocations: 0 / 390.3 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006189/0.4143, allocations: 477.5 kB / 390.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.4143, allocations: 99.56 kB / 390.9 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.4144, allocations: 6.375 kB / 390.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.4145, allocations: 20.16 kB / 390.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.4146, allocations: 20.53 kB / 390.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.4146, allocations: 5.391 kB / 390.9 MB, free: 2.789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.4148, allocations: 145.9 kB / 391.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4148, allocations: 0 / 391.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000431/0.4152, allocations: 75.81 kB / 391.2 MB, free: 2.684 MB / 318.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.0008333/0.416, allocations: 0.9966 MB / 392.2 MB, free: 1.891 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006597/0.4167, allocations: 374.2 kB / 392.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4167, allocations: 1.25 kB / 392.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003923/0.4171, allocations: 259.2 kB / 392.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.4175, allocations: 41.64 kB / 392.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.4209, allocations: 2.834 MB / 395.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.4215, allocations: 0.7673 MB / 396.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.4216, allocations: 17.56 kB / 396.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.4218, allocations: 89.19 kB / 396.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4218, allocations: 0 / 396.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.4578, allocations: 5.799 MB / 402.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.56, allocations: 10.08 kB / 402.3 MB, free: 13.71 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches