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.002554/0.002554, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00227/0.00227, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.537/1.537, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.289e-05, allocations: 6.25 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.007623/0.007656, allocations: 5.015 MB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.01867, allocations: 6.375 MB / 283.7 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008444/0.01952, allocations: 63.31 kB / 283.8 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.02108, allocations: 468.7 kB / 284.2 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.02409, allocations: 0.861 MB / 285.1 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.02548, allocations: 450.2 kB / 285.5 MB, free: 4.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003915/0.0294, allocations: 2.098 MB / 287.6 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.02971, allocations: 95.27 kB / 287.7 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009963/0.03071, allocations: 0.5141 MB / 288.2 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004842/0.03119, allocations: 239.1 kB / 288.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.812e-05/0.03129, allocations: 32 kB / 288.5 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.03243, allocations: 463.4 kB / 288.9 MB, free: 1.137 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.03256, allocations: 111.2 kB / 289 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.03295, allocations: 235.2 kB / 289.3 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.11/0.143, allocations: 1.306 MB / 290.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.143, allocations: 1.812 kB / 290.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.143, allocations: 0 / 290.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.926e-05/0.143, allocations: 0 / 290.6 MB, free: 17.48 MB / 266.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.001994/0.145, allocations: 1.597 MB / 292.2 MB, free: 16.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.145, allocations: 9.891 kB / 292.2 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.1453, allocations: 165.9 kB / 292.4 MB, free: 16.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.1464, allocations: 0.8495 MB / 293.2 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.1465, allocations: 17.78 kB / 293.2 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.1465, allocations: 25.94 kB / 293.2 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.1471, allocations: 367.3 kB / 293.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1471, allocations: 0 / 293.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.1471, allocations: 8.75 kB / 293.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1471, allocations: 6.062 kB / 293.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.1475, allocations: 238.4 kB / 293.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.1495, allocations: 1.217 MB / 295.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.1498, allocations: 238.3 kB / 295.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004668/0.1503, allocations: 284.4 kB / 295.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006976/0.151, allocations: 178.2 kB / 295.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.151, allocations: 36.55 kB / 295.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 1.734e-06/0.151, allocations: 0 / 295.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.002717/0.1537, allocations: 1.434 MB / 297.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.1538, allocations: 110.1 kB / 297.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.1551, allocations: 1.256 MB / 298.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.1551, allocations: 35.89 kB / 298.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.1554, allocations: 467.5 kB / 299.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/0.1555, allocations: 142.5 kB / 299.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.1557, allocations: 131.1 kB / 299.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.1558, allocations: 0.4977 MB / 299.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.156, allocations: 137.3 kB / 300 MB, free: 13.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.1562, allocations: 219.8 kB / 300.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007548/0.157, allocations: 0.5256 MB / 300.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.157, allocations: 3.938 kB / 300.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008826/0.1579, allocations: 0.5883 MB / 301.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.1579, allocations: 40.58 kB / 301.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-05/0.1579, allocations: 12.27 kB / 301.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/0.1582, allocations: 88.95 kB / 301.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.1584, allocations: 43.48 kB / 301.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.1604, allocations: 4.3 MB / 305.8 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.1607, allocations: 13.22 kB / 305.8 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.1608, allocations: 20.72 kB / 305.8 MB, free: 8.512 MB / 266.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.000358/0.1612, allocations: 313.4 kB / 306.1 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.1613, allocations: 137.2 kB / 306.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.1625, allocations: 0.6774 MB / 306.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1625, allocations: 4.125 kB / 306.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1625, allocations: 1.469 kB / 306.9 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1625, allocations: 5.25 kB / 306.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008492/0.1634, allocations: 0.6827 MB / 307.6 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-05/0.1634, allocations: 16.19 kB / 307.6 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.1636, allocations: 36.83 kB / 307.7 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002197/0.1638, allocations: 82.69 kB / 307.8 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.1638, allocations: 19.05 kB / 307.8 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.1656, allocations: 4.304 MB / 312.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1656, allocations: 0 / 312.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.1668, allocations: 0.9581 MB / 313 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/0.1672, allocations: 231 kB / 313.3 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.1673, allocations: 4 kB / 313.3 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.1676, allocations: 11.88 kB / 313.3 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.1677, allocations: 33.81 kB / 313.3 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.1677, allocations: 19.5 kB / 313.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000739/0.1684, allocations: 0.7509 MB / 314.1 MB, free: 2.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1684, allocations: 0 / 314.1 MB, free: 2.266 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007507/0.1692, allocations: 231.9 kB / 314.3 MB, free: 2.223 MB / 266.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.000464/0.1696, allocations: 321.5 kB / 314.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009387/0.1706, allocations: 0.9311 MB / 315.6 MB, free: 1.371 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1706, allocations: 3.5 kB / 315.6 MB, free: 1.371 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005216/0.1711, allocations: 0.749 MB / 316.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.1717, allocations: 119.4 kB / 316.4 MB, free: 0.668 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.1736, allocations: 1.611 MB / 318 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1739, allocations: 409.9 kB / 318.4 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002405/0.1741, allocations: 98.33 kB / 318.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.785e-05/0.1742, allocations: 49.72 kB / 318.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1742, allocations: 3.75 kB / 318.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of Templates: time 0.01998/0.1942, allocations: 9.101 MB / 327.7 MB, free: 7.629 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.970928068039939]