Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001043/0.001043, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.005113/0.005113, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8626/0.8626, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.256e-05, allocations: 6.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.1209/0.1209, allocations: 4.561 MB / 303 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005078/0.126, allocations: 5.768 MB / 308.8 MB, free: 10.01 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.1265, allocations: 64.88 kB / 308.8 MB, free: 9.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009417/0.1274, allocations: 473.8 kB / 309.3 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.1293, allocations: 0.8473 MB / 310.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1304, allocations: 448.9 kB / 310.6 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.1326, allocations: 2.034 MB / 312.6 MB, free: 8.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.1328, allocations: 100.1 kB / 312.7 MB, free: 8.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000645/0.1335, allocations: 0.4912 MB / 313.2 MB, free: 7.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.1337, allocations: 237.1 kB / 313.4 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.572e-05/0.1338, allocations: 30.25 kB / 313.5 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008645/0.1346, allocations: 446.1 kB / 313.9 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.012e-05/0.1347, allocations: 112.2 kB / 314 MB, free: 7.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.1349, allocations: 235.4 kB / 314.2 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.1362, allocations: 1.293 MB / 315.5 MB, free: 7.105 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1362, allocations: 0 / 315.5 MB, free: 7.105 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1362, allocations: 0 / 315.5 MB, free: 7.105 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.34e-05/0.1362, allocations: 1.219 kB / 315.5 MB, free: 7.105 MB / 282.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.001431/0.1377, allocations: 1.399 MB / 316.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1377, allocations: 13.61 kB / 316.9 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.1378, allocations: 63.83 kB / 317 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.1379, allocations: 132.7 kB / 317.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007772/0.1386, allocations: 0.7674 MB / 317.9 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.1387, allocations: 19.84 kB / 317.9 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.1387, allocations: 24.66 kB / 317.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.1391, allocations: 371.3 kB / 318.3 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1391, allocations: 1.25 kB / 318.3 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.1392, allocations: 10.59 kB / 318.3 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1392, allocations: 6.094 kB / 318.3 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.1395, allocations: 261.6 kB / 318.6 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1406, allocations: 1.015 MB / 319.6 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.1409, allocations: 261.3 kB / 319.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.1412, allocations: 289 kB / 320.1 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005198/0.1417, allocations: 158.8 kB / 320.3 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.1418, allocations: 33.03 kB / 320.3 MB, free: 4.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 1.784e-06/0.1418, allocations: 1.031 kB / 320.3 MB, free: 4.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.001818/0.1436, allocations: 1.497 MB / 321.8 MB, free: 3.297 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.1436, allocations: 110.5 kB / 321.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006998/0.1443, allocations: 0.9386 MB / 322.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1443, allocations: 27.08 kB / 322.9 MB, free: 2.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1445, allocations: 357.6 kB / 323.2 MB, free: 2.438 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.1445, allocations: 134.2 kB / 323.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.1446, allocations: 122.9 kB / 323.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.103e-05/0.1447, allocations: 325.2 kB / 323.8 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.1448, allocations: 160.2 kB / 324 MB, free: 1.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.145, allocations: 217.6 kB / 324.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008205/0.1458, allocations: 0.7401 MB / 324.9 MB, free: 1.219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1458, allocations: 5.281 kB / 324.9 MB, free: 1.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005544/0.1464, allocations: 0.5925 MB / 325.5 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.1464, allocations: 42.09 kB / 325.6 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.1464, allocations: 15.44 kB / 325.6 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.1465, allocations: 69.92 kB / 325.6 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1467, allocations: 49.69 kB / 325.7 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.1483, allocations: 3.095 MB / 328.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.1486, allocations: 26.89 kB / 328.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.1486, allocations: 18.66 kB / 328.8 MB, free: 13.69 MB / 298.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.0003109/0.1489, allocations: 263.2 kB / 329.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.149, allocations: 132.9 kB / 329.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008411/0.1499, allocations: 0.7104 MB / 329.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1499, allocations: 2.406 kB / 329.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1499, allocations: 2.688 kB / 329.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1499, allocations: 3.984 kB / 329.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.1504, allocations: 0.5357 MB / 330.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.1504, allocations: 19.89 kB / 330.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.241e-05/0.1505, allocations: 31.73 kB / 330.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001302/0.1507, allocations: 76.23 kB / 330.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.1507, allocations: 22.11 kB / 330.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.1523, allocations: 3.115 MB / 333.7 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1523, allocations: 3.938 kB / 333.7 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008496/0.1531, allocations: 0.935 MB / 334.7 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.1534, allocations: 197 kB / 334.9 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.1534, allocations: 11.72 kB / 334.9 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1536, allocations: 11.16 kB / 334.9 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.1537, allocations: 41.53 kB / 334.9 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.1537, allocations: 17.97 kB / 334.9 MB, free: 8.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004995/0.1542, allocations: 0.6271 MB / 335.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1542, allocations: 0 / 335.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007465/0.1549, allocations: 227 kB / 335.8 MB, free: 8.199 MB / 298.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.001551/0.1565, allocations: 1.701 MB / 337.5 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008812/0.1574, allocations: 0.8191 MB / 338.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1574, allocations: 0 / 338.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004213/0.1578, allocations: 0.6311 MB / 338.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.1582, allocations: 116.7 kB / 339.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.1638, allocations: 5.912 MB / 345 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1641, allocations: 409 kB / 345.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.1643, allocations: 97.64 kB / 345.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.1645, allocations: 284.4 kB / 345.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of SimCode: time 1.653e-06/0.1645, allocations: 0 / 345.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03711/0.2016, allocations: 18.61 MB / 364.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.843, allocations: 7.844 kB / 364.4 MB, free: 11.23 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.csv. Warning: Get data of variable D3.n.v from file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.615978489629924]