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.001993/0.001994, allocations: 110.3 kB / 17.73 MB, free: 5.34 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.002151/0.002151, allocations: 183.1 kB / 18.66 MB, free: 4.414 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.516/1.516, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00164/0.00164, allocations: 59.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1131, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005545/0.1187, allocations: 2.761 MB / 377.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1205, allocations: 0.6629 MB / 378.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003494/0.121, allocations: 4 kB / 378.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.1213, allocations: 47.5 kB / 378.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.1217, allocations: 95.17 kB / 378.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.122, allocations: 71.91 kB / 378.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005283/0.1225, allocations: 354.7 kB / 378.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.1228, allocations: 147.3 kB / 378.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.1231, allocations: 127.6 kB / 378.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.1234, allocations: 155.3 kB / 379.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.253e-05/0.1235, allocations: 28 kB / 379.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.221e-05/0.1236, allocations: 32 kB / 379.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.1237, allocations: 71.7 kB / 379.2 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.1239, allocations: 159.2 kB / 379.3 MB, free: 364 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.1244, allocations: 354.5 kB / 379.7 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1244, allocations: 4 kB / 379.7 MB, free: 4 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1245, allocations: 4 kB / 379.7 MB, free: 0 / 318.1 MB Notification: Performance of Transformations before backend: time 0.2266/0.3511, allocations: 64 / 379.7 MB, free: 13.37 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.001515/0.3527, allocations: 0.5934 MB / 380.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.3528, allocations: 9.375 kB / 380.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.34e-05/0.3529, allocations: 62.69 kB / 380.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.271e-05/0.353, allocations: 36.12 kB / 380.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.3534, allocations: 259.7 kB / 380.7 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.3535, allocations: 21.81 kB / 380.7 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/0.3535, allocations: 29.23 kB / 380.7 MB, free: 12.65 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.3541, allocations: 251.9 kB / 381 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3541, allocations: 4.5 kB / 381 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.3542, allocations: 12.34 kB / 381 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.3542, allocations: 7.922 kB / 381 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.3546, allocations: 186.8 kB / 381.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.3563, allocations: 1.002 MB / 382.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.3568, allocations: 332.2 kB / 382.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.3571, allocations: 141.3 kB / 382.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.3571, allocations: 6.047 kB / 382.6 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.3572, allocations: 36.97 kB / 382.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/0.3572, allocations: 1.5 kB / 382.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001986/0.3592, allocations: 0.7881 MB / 383.5 MB, free: 11.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.3592, allocations: 59.42 kB / 383.5 MB, free: 11.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.3595, allocations: 196.8 kB / 383.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3595, allocations: 31.44 kB / 383.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3596, allocations: 171 kB / 383.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/0.3597, allocations: 94.05 kB / 384 MB, free: 10.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-05/0.3598, allocations: 46.84 kB / 384 MB, free: 10.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.3598, allocations: 333.9 kB / 384.4 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.36, allocations: 77.05 kB / 384.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.3602, allocations: 100.3 kB / 384.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.3604, allocations: 182.1 kB / 384.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3605, allocations: 1.094 kB / 384.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005906/0.3611, allocations: 320.2 kB / 385 MB, free: 10.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.3611, allocations: 5.016 kB / 385 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3611, allocations: 1.094 kB / 385 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003082/0.3614, allocations: 91.55 kB / 385.1 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.3616, allocations: 44.88 kB / 385.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.3636, allocations: 2.088 MB / 387.3 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.3638, allocations: 9.484 kB / 387.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.3638, allocations: 13.14 kB / 387.3 MB, free: 8.324 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.0001615/0.364, allocations: 141.3 kB / 387.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.3641, allocations: 22.91 kB / 387.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.3641, allocations: 27.77 kB / 387.5 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3641, allocations: 2.344 kB / 387.5 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.3642, allocations: 7.141 kB / 387.5 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3642, allocations: 6.594 kB / 387.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.3653, allocations: 0.7425 MB / 388.2 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3654, allocations: 2.812 kB / 388.2 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.3656, allocations: 35.98 kB / 388.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000258/0.3658, allocations: 71.55 kB / 388.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.3659, allocations: 11.86 kB / 388.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.3676, allocations: 1.99 MB / 390.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3676, allocations: 1.156 kB / 390.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006456/0.3683, allocations: 463 kB / 390.8 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.3683, allocations: 99.41 kB / 390.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.3684, allocations: 6.656 kB / 390.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.3685, allocations: 12.59 kB / 390.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.3686, allocations: 21.23 kB / 390.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.3687, allocations: 10.42 kB / 390.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.3688, allocations: 148.7 kB / 391.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3688, allocations: 5.156 kB / 391.1 MB, free: 5.348 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.3693, allocations: 75.59 kB / 391.2 MB, free: 5.34 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.0008932/0.3702, allocations: 0.9983 MB / 392.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006942/0.3709, allocations: 375.3 kB / 392.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3709, allocations: 0 / 392.5 MB, free: 4.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004189/0.3713, allocations: 267.3 kB / 392.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.3717, allocations: 35.59 kB / 392.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.3753, allocations: 2.839 MB / 395.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.3757, allocations: 0.7701 MB / 396.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.3758, allocations: 18.28 kB / 396.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.376, allocations: 85.7 kB / 396.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of SimCode: time 1.803e-06/0.376, allocations: 0 / 396.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.4103, allocations: 5.797 MB / 402.3 MB, free: 116 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.76, allocations: 13.3 kB / 402.3 MB, free: 104 kB / 318.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