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.00158/0.00158, allocations: 111.6 kB / 18.45 MB, free: 4.59 MB / 14.72 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.001873/0.001873, allocations: 219.2 kB / 21.42 MB, free: 1.625 MB / 14.72 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 1.404/1.404, allocations: 207.6 MB / 231.8 MB, free: 4.051 MB / 174.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 55.92 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1187, allocations: 49.13 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.008965/0.1277, allocations: 5.228 MB / 396.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.1385, allocations: 6.593 MB / 403.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008068/0.1393, allocations: 63.31 kB / 403.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.1407, allocations: 0.5047 MB / 403.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.1433, allocations: 0.8069 MB / 404.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1445, allocations: 438.4 kB / 405 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003448/0.1479, allocations: 1.989 MB / 407 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.1482, allocations: 103.1 kB / 407.1 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006205/0.1488, allocations: 378.2 kB / 407.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.1493, allocations: 345.7 kB / 407.8 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.973e-05/0.1493, allocations: 36 kB / 407.9 MB, free: 8.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.1505, allocations: 463.6 kB / 408.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.1507, allocations: 107.3 kB / 408.4 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004328/0.1511, allocations: 453 kB / 408.9 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.1529, allocations: 1.279 MB / 410.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1529, allocations: 0 / 410.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1529, allocations: 0 / 410.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.1529, allocations: 3.938 kB / 410.1 MB, free: 5.883 MB / 334.1 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.002198/0.1551, allocations: 1.486 MB / 411.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1551, allocations: 8.031 kB / 411.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.312e-05/0.1552, allocations: 66.47 kB / 411.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.1554, allocations: 135.2 kB / 411.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.1566, allocations: 0.8631 MB / 412.7 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1566, allocations: 12.44 kB / 412.7 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.1567, allocations: 31.89 kB / 412.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.1573, allocations: 306.6 kB / 413 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1573, allocations: 0 / 413 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.1574, allocations: 15.94 kB / 413.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1574, allocations: 4 kB / 413.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.1578, allocations: 225.8 kB / 413.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.1598, allocations: 1.114 MB / 414.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.1603, allocations: 222.4 kB / 414.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/0.1608, allocations: 260.7 kB / 414.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.1619, allocations: 0.7593 MB / 415.6 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.1619, allocations: 30.56 kB / 415.7 MB, free: 12 kB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 2.485e-06/0.1619, allocations: 0 / 415.7 MB, free: 12 kB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.003543/0.1655, allocations: 1.568 MB / 417.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/0.1656, allocations: 110.8 kB / 417.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.1667, allocations: 0.9339 MB / 418.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.1668, allocations: 29.7 kB / 418.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.1671, allocations: 365.8 kB / 418.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.1672, allocations: 134.7 kB / 418.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.1674, allocations: 121.7 kB / 418.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1675, allocations: 322 kB / 419.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.1678, allocations: 120.6 kB / 419.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.1681, allocations: 163.6 kB / 419.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.1696, allocations: 0.737 MB / 420.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1696, allocations: 0 / 420.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001009/0.1706, allocations: 0.5585 MB / 420.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.1707, allocations: 41.61 kB / 420.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/0.1707, allocations: 15.98 kB / 420.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/0.1709, allocations: 69.62 kB / 420.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.1712, allocations: 51.94 kB / 421 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.174, allocations: 3.324 MB / 424.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.1744, allocations: 16.03 kB / 424.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.1745, allocations: 24.08 kB / 424.3 MB, free: 6.84 MB / 350.1 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.000452/0.1749, allocations: 267.8 kB / 424.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.1751, allocations: 127.2 kB / 424.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.1764, allocations: 0.6607 MB / 425.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.1764, allocations: 4 kB / 425.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1764, allocations: 4 kB / 425.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1764, allocations: 3.984 kB / 425.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.1772, allocations: 0.6199 MB / 426 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.769e-05/0.1772, allocations: 12 kB / 426 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.1774, allocations: 39.91 kB / 426.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002101/0.1776, allocations: 61.67 kB / 426.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.1777, allocations: 20 kB / 426.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002746/0.1804, allocations: 3.343 MB / 429.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.1804, allocations: 4.031 kB / 429.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.1818, allocations: 0.8478 MB / 430.3 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/0.1822, allocations: 284.2 kB / 430.6 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-05/0.1823, allocations: 11.94 kB / 430.6 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.1826, allocations: 8 kB / 430.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1827, allocations: 31.95 kB / 430.7 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.1827, allocations: 20 kB / 430.7 MB, free: 76 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008312/0.1835, allocations: 0.6218 MB / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1835, allocations: 64 / 431.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008624/0.1844, allocations: 231.6 kB / 431.5 MB, free: 15.22 MB / 366.1 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.002228/0.1866, allocations: 1.608 MB / 433.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.1878, allocations: 0.7415 MB / 433.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1878, allocations: 0 / 433.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007525/0.1886, allocations: 0.5904 MB / 434.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.1892, allocations: 100.8 kB / 434.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008761/0.1979, allocations: 5.771 MB / 440.3 MB, free: 6.082 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.1986, allocations: 1 MB / 441.3 MB, free: 5.055 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003212/0.1989, allocations: 93.64 kB / 441.4 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.1993, allocations: 287.3 kB / 441.7 MB, free: 4.68 MB / 366.1 MB Notification: Performance of SimCode: time 1.724e-06/0.1993, allocations: 0 / 441.7 MB, free: 4.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05513/0.2544, allocations: 17.34 MB / 459 MB, free: 3.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.83, allocations: 3.938 kB / 459.1 MB, free: 3.266 MB / 382.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/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: 14.577278488010052]