Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008418/0.0008418, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007802/0.0007802, allocations: 153.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9148/0.9148, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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.ResonanceCircuits,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ResonanceCircuits,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 318.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.763e-05, allocations: 6.219 kB / 318.5 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.003924/0.003941, allocations: 4.74 MB / 323.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.00621, allocations: 1.406 MB / 324.6 MB, free: 124 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.006641, allocations: 39.69 kB / 324.7 MB, free: 84 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.007006, allocations: 221.7 kB / 324.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.007456, allocations: 201.9 kB / 325.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.008066, allocations: 403.2 kB / 325.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007835/0.00885, allocations: 1.145 MB / 326.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000398/0.009248, allocations: 316.8 kB / 326.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004738/0.009721, allocations: 0.5923 MB / 327.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.009966, allocations: 290.9 kB / 327.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.655e-05/0.01004, allocations: 84 kB / 327.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.01016, allocations: 91.98 kB / 328 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.01026, allocations: 219 kB / 328.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.01045, allocations: 319 kB / 328.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007188/0.01117, allocations: 1.16 MB / 329.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.01117, allocations: 0 / 329.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01117, allocations: 0 / 329.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.01118, allocations: 3.984 kB / 329.6 MB, free: 11.04 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001134/0.01232, allocations: 1.259 MB / 330.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.01236, allocations: 8.922 kB / 330.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.01247, allocations: 156.2 kB / 331.1 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.01258, allocations: 135.2 kB / 331.2 MB, free: 9.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.0132, allocations: 0.5704 MB / 331.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.01324, allocations: 70 kB / 331.8 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.859e-05/0.01332, allocations: 100 kB / 331.9 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.01433, allocations: 1.073 MB / 333 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.01436, allocations: 15.89 kB / 333 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.01441, allocations: 44 kB / 333.1 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.01443, allocations: 28 kB / 333.1 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006855/0.01511, allocations: 0.5578 MB / 333.7 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.01796, allocations: 5.224 MB / 338.9 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.01833, allocations: 221 kB / 339.1 MB, free: 1.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.01853, allocations: 145.6 kB / 339.2 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.567e-05/0.01862, allocations: 12 kB / 339.2 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.01864, allocations: 42.44 kB / 339.3 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.462e-06/0.01864, allocations: 0 / 339.3 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002228/0.02087, allocations: 1.605 MB / 340.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.02093, allocations: 85.11 kB / 341 MB, free: 15.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005401/0.02147, allocations: 0.6566 MB / 341.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.02149, allocations: 29.7 kB / 341.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.0218, allocations: 0.6123 MB / 342.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.628e-05/0.02188, allocations: 150.7 kB / 342.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.022, allocations: 138.5 kB / 342.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.02211, allocations: 390.7 kB / 342.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.02229, allocations: 153.9 kB / 343.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.0226, allocations: 0.4895 MB / 343.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.02314, allocations: 0.6927 MB / 344.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.02315, allocations: 4 kB / 344.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007254/0.02387, allocations: 0.7159 MB / 345 MB, free: 10.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.0239, allocations: 14.48 kB / 345 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.02391, allocations: 16 kB / 345 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.02393, allocations: 16 kB / 345 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.02429, allocations: 191.7 kB / 345.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.02431, allocations: 27.86 kB / 345.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.0245, allocations: 39.92 kB / 345.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.02453, allocations: 36 kB / 345.3 MB, free: 10.4 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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 prepare postOptimizeDAE: time 0.000202/0.02473, allocations: 229.5 kB / 345.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.969e-05/0.0248, allocations: 83.47 kB / 345.6 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.832e-05/0.02488, allocations: 74.62 kB / 345.7 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.02488, allocations: 4 kB / 345.7 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.02489, allocations: 0 / 345.7 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.02489, allocations: 4 kB / 345.7 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.02613, allocations: 1.234 MB / 346.9 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.02613, allocations: 4 kB / 347 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.02637, allocations: 103.9 kB / 347.1 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.02638, allocations: 0 / 347.1 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.02639, allocations: 8 kB / 347.1 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.0264, allocations: 7.984 kB / 347.1 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.0264, allocations: 8.094 kB / 347.1 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006161/0.02702, allocations: 0.7013 MB / 347.8 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.02708, allocations: 75.42 kB / 347.9 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.02712, allocations: 15.97 kB / 347.9 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.02727, allocations: 19.98 kB / 347.9 MB, free: 7.727 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.02733, allocations: 39.89 kB / 347.9 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.02734, allocations: 11.98 kB / 347.9 MB, free: 7.676 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003002/0.02764, allocations: 427 kB / 348.4 MB, free: 7.262 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02764, allocations: 0 / 348.4 MB, free: 7.262 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003991/0.02804, allocations: 136 kB / 348.5 MB, free: 7.129 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * 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 (40): * Single equations (assignments): 40 * 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.0008273/0.02887, allocations: 1.254 MB / 349.7 MB, free: 5.832 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004905/0.02936, allocations: 417 kB / 350.1 MB, free: 5.426 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.02936, allocations: 4 kB / 350.2 MB, free: 5.422 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.02952, allocations: 144.9 kB / 350.3 MB, free: 5.285 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.0299, allocations: 79.36 kB / 350.4 MB, free: 5.207 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/0.0353, allocations: 6.002 MB / 356.4 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.03559, allocations: 421.3 kB / 356.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.03577, allocations: 94 kB / 356.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.03608, allocations: 396.3 kB / 357.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.03608, allocations: 0 / 357.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.06174, allocations: 12.51 MB / 369.8 MB, free: 1.508 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.955/7.017, allocations: 3.984 kB / 369.8 MB, free: 1.504 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ResonanceCircuits.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.98993853945285]