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.0008829/0.0008829, allocations: 91.61 kB / 22.19 MB, free: 2.375 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.001025/0.001025, allocations: 156 kB / 25.44 MB, free: 8.859 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.8841/0.8841, allocations: 158.6 MB / 187.2 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: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 299.7 MB, free: 3.027 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.688e-05, allocations: 6.281 kB / 299.7 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.137/0.137, allocations: 4.554 MB / 304.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005483/0.1425, allocations: 5.771 MB / 310 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008844/0.1434, allocations: 59.5 kB / 310.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.1447, allocations: 474 kB / 310.5 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.1474, allocations: 0.8472 MB / 311.4 MB, free: 9.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.1488, allocations: 445 kB / 311.8 MB, free: 9.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002751/0.1516, allocations: 2.034 MB / 313.9 MB, free: 8.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.1518, allocations: 98.84 kB / 314 MB, free: 8.148 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007423/0.1526, allocations: 0.5004 MB / 314.5 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.1529, allocations: 237.1 kB / 314.7 MB, free: 7.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.533e-05/0.1529, allocations: 28.88 kB / 314.7 MB, free: 7.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.154, allocations: 439.2 kB / 315.1 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.1541, allocations: 112.2 kB / 315.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.1544, allocations: 235.6 kB / 315.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.1558, allocations: 1.293 MB / 316.8 MB, free: 7.164 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1558, allocations: 0 / 316.8 MB, free: 7.164 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1558, allocations: 0 / 316.8 MB, free: 7.164 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.1558, allocations: 1.188 kB / 316.8 MB, free: 7.164 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.00138/0.1572, allocations: 1.399 MB / 318.2 MB, free: 6.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1573, allocations: 13.69 kB / 318.2 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.1574, allocations: 143.7 kB / 318.3 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008095/0.1582, allocations: 0.7673 MB / 319.1 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.1582, allocations: 19.59 kB / 319.1 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.1583, allocations: 23.56 kB / 319.1 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.1587, allocations: 367.6 kB / 319.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1587, allocations: 0.6875 kB / 319.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.1587, allocations: 10.62 kB / 319.5 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.1587, allocations: 10.48 kB / 319.5 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.159, allocations: 266.7 kB / 319.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.1601, allocations: 0.9627 MB / 320.7 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.1604, allocations: 251.8 kB / 321 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.1607, allocations: 295.8 kB / 321.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004585/0.1611, allocations: 159.2 kB / 321.4 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.1611, allocations: 36.47 kB / 321.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 1.522e-06/0.1611, allocations: 4 kB / 321.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.001733/0.1629, allocations: 1.496 MB / 323 MB, free: 3.441 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.1629, allocations: 110.4 kB / 323.1 MB, free: 3.316 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006375/0.1635, allocations: 0.9344 MB / 324 MB, free: 2.875 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1636, allocations: 31.08 kB / 324 MB, free: 2.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.1637, allocations: 363 kB / 324.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.1637, allocations: 133.9 kB / 324.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.1639, allocations: 116.2 kB / 324.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.186e-05/0.1639, allocations: 321.6 kB / 325 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.164, allocations: 161.4 kB / 325.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.1642, allocations: 218.1 kB / 325.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.165, allocations: 0.7439 MB / 326.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.165, allocations: 0 / 326.1 MB, free: 1.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005479/0.1655, allocations: 0.5929 MB / 326.7 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.1656, allocations: 46.75 kB / 326.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.1656, allocations: 11.81 kB / 326.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/0.1657, allocations: 73.11 kB / 326.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1659, allocations: 46.38 kB / 326.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.1675, allocations: 3.059 MB / 329.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.1677, allocations: 15.55 kB / 329.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.1678, allocations: 21.89 kB / 329.9 MB, free: 13.85 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.0003696/0.1682, allocations: 268.3 kB / 330.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1683, allocations: 125.8 kB / 330.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009304/0.1692, allocations: 0.7044 MB / 331 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1692, allocations: 3.5 kB / 331 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1692, allocations: 6.969 kB / 331 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1692, allocations: 4 kB / 331 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.1697, allocations: 0.4988 MB / 331.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/0.1697, allocations: 19.48 kB / 331.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.079e-05/0.1698, allocations: 32.27 kB / 331.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/0.17, allocations: 69.83 kB / 331.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.17, allocations: 16.08 kB / 331.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.1714, allocations: 3.069 MB / 334.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1714, allocations: 0 / 334.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008767/0.1723, allocations: 0.9367 MB / 335.7 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.1725, allocations: 209.2 kB / 335.9 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.1726, allocations: 6.75 kB / 335.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.1727, allocations: 10.88 kB / 335.9 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.1728, allocations: 33.69 kB / 335.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.1729, allocations: 21.73 kB / 335.9 MB, free: 8.891 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005534/0.1734, allocations: 0.6286 MB / 336.6 MB, free: 8.531 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1734, allocations: 0 / 336.6 MB, free: 8.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007593/0.1742, allocations: 223.7 kB / 336.8 MB, free: 8.395 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.0005105/0.1747, allocations: 330.5 kB / 337.1 MB, free: 8.062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008247/0.1755, allocations: 0.823 MB / 337.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1755, allocations: 0 / 337.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000412/0.1759, allocations: 0.6231 MB / 338.6 MB, free: 6.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.1763, allocations: 111.5 kB / 338.7 MB, free: 6.367 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.1781, allocations: 1.599 MB / 340.3 MB, free: 4.719 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.1784, allocations: 413 kB / 340.7 MB, free: 4.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.1784, allocations: 56.48 kB / 340.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1784, allocations: 0 / 340.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of Templates: time 0.01455/0.193, allocations: 17.81 MB / 358.5 MB, free: 2.398 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2173601649701595]