Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8907/0.8907, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.599e-05, allocations: 2.281 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.003753/0.003769, allocations: 4.599 MB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004712/0.008481, allocations: 5.853 MB / 335 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.008755, allocations: 63.31 kB / 335.1 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.00948, allocations: 476.6 kB / 335.5 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009815/0.01046, allocations: 0.8571 MB / 336.4 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.011, allocations: 442.2 kB / 336.8 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.01263, allocations: 2.102 MB / 338.9 MB, free: 1.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.01281, allocations: 103.2 kB / 339 MB, free: 1.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.0132, allocations: 0.5064 MB / 339.5 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.01343, allocations: 239.1 kB / 339.8 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.01347, allocations: 32 kB / 339.8 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004827/0.01395, allocations: 463.4 kB / 340.2 MB, free: 184 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.01401, allocations: 119.2 kB / 340.4 MB, free: 64 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.01417, allocations: 231.2 kB / 340.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008878/0.01506, allocations: 1.3 MB / 341.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01506, allocations: 0 / 341.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01507, allocations: 0 / 341.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.01508, allocations: 0 / 341.9 MB, free: 14.53 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001299/0.01637, allocations: 1.418 MB / 343.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.01641, allocations: 8.031 kB / 343.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.01645, allocations: 54.55 kB / 343.4 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.01664, allocations: 147.1 kB / 343.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006938/0.01733, allocations: 0.7678 MB / 344.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.01735, allocations: 20.5 kB / 344.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.01739, allocations: 31.94 kB / 344.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.01775, allocations: 363.2 kB / 344.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.01776, allocations: 3.938 kB / 344.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.01778, allocations: 12 kB / 344.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.01779, allocations: 7.984 kB / 344.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.01805, allocations: 255.8 kB / 345 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.0191, allocations: 1.007 MB / 346 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.01938, allocations: 252 kB / 346.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.01968, allocations: 291.1 kB / 346.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004609/0.02014, allocations: 169.4 kB / 346.7 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.02017, allocations: 38.56 kB / 346.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.276e-06/0.02017, allocations: 3.984 kB / 346.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.001873/0.02204, allocations: 1.496 MB / 348.2 MB, free: 7.949 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.0221, allocations: 114.8 kB / 348.3 MB, free: 7.812 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008896/0.02299, allocations: 0.9301 MB / 349.2 MB, free: 6.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.02301, allocations: 33.64 kB / 349.3 MB, free: 6.836 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.02321, allocations: 357.7 kB / 349.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.02328, allocations: 146.8 kB / 349.8 MB, free: 6.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.02338, allocations: 113.7 kB / 349.9 MB, free: 6.219 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.599e-05/0.02346, allocations: 329.8 kB / 350.2 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.02362, allocations: 154.3 kB / 350.3 MB, free: 5.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.0238, allocations: 227.8 kB / 350.6 MB, free: 5.488 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008342/0.02463, allocations: 0.7492 MB / 351.3 MB, free: 4.707 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02463, allocations: 0 / 351.3 MB, free: 4.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000562/0.0252, allocations: 0.5915 MB / 351.9 MB, free: 4.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.02523, allocations: 41.69 kB / 351.9 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.02525, allocations: 12 kB / 352 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001401/0.02539, allocations: 77.7 kB / 352 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.0255, allocations: 47.92 kB / 352.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.027, allocations: 3.113 MB / 355.2 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.02713, allocations: 12.02 kB / 355.2 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.02716, allocations: 20 kB / 355.2 MB, free: 0.5391 MB / 314.7 MB Warning: Assuming fixed start value for the following 4 variables: D2.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D4.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D3.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real D1.c2.m_tBrkdwnV:VARIABLE(unit = \"V\" fixed = true final = true ) type: Real 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 (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002637/0.02742, allocations: 256 kB / 355.5 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/0.0275, allocations: 131.2 kB / 355.6 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008999/0.0284, allocations: 0.6936 MB / 356.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.02841, allocations: 4 kB / 356.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.02841, allocations: 4 kB / 356.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.02841, allocations: 0 / 356.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.02885, allocations: 0.5449 MB / 356.9 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.02886, allocations: 16 kB / 356.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.02894, allocations: 35.91 kB / 356.9 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.02905, allocations: 69.67 kB / 357 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.02907, allocations: 27.92 kB / 357 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.0305, allocations: 3.102 MB / 360.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.0305, allocations: 0 / 360.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007807/0.03128, allocations: 0.9485 MB / 361 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.03149, allocations: 209 kB / 361.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/0.03153, allocations: 4 kB / 361.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.03166, allocations: 12 kB / 361.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.03172, allocations: 27.95 kB / 361.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.03174, allocations: 27.92 kB / 361.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004333/0.03218, allocations: 0.6256 MB / 361.9 MB, free: 9.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03218, allocations: 4 kB / 362 MB, free: 9.449 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000463/0.03264, allocations: 231.5 kB / 362.2 MB, free: 9.223 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D1.pin,D4.n.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 (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001598/0.03424, allocations: 1.702 MB / 363.9 MB, free: 7.469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007893/0.03503, allocations: 0.8199 MB / 364.7 MB, free: 6.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.03503, allocations: 0 / 364.7 MB, free: 6.574 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.03545, allocations: 0.6298 MB / 365.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.03585, allocations: 111.6 kB / 365.4 MB, free: 5.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/0.04088, allocations: 5.92 MB / 371.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.04111, allocations: 421 kB / 371.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001579/0.04127, allocations: 89.66 kB / 371.9 MB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.04147, allocations: 288.4 kB / 372.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of SimCode: time 7.72e-07/0.04147, allocations: 0 / 372.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.07618, allocations: 18.63 MB / 390.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/7.785, allocations: 9.812 kB / 390.8 MB, free: 12.4 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.csv --start-time 0 --stop-time 0.025 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.998e-06 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable D3.n.v in file Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.csv. Warning: Get data of variable D3.n.v from file Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.678386736661196]