Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.659e-05, allocations: 2.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.007067/0.007093, allocations: 5.004 MB / 272.3 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.01722, allocations: 6.332 MB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006627/0.01788, allocations: 63.31 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.01928, allocations: 480.7 kB / 279.2 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.02153, allocations: 0.8493 MB / 280 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.02271, allocations: 446.2 kB / 280.5 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003756/0.02646, allocations: 2.055 MB / 282.5 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.02674, allocations: 99.19 kB / 282.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008224/0.02756, allocations: 0.5103 MB / 283.1 MB, free: 6.848 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004163/0.02797, allocations: 235.1 kB / 283.3 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.303e-05/0.02806, allocations: 32 kB / 283.4 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.02913, allocations: 447.5 kB / 283.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.02926, allocations: 111.2 kB / 283.9 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003281/0.02959, allocations: 243.2 kB / 284.2 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.03139, allocations: 1.296 MB / 285.5 MB, free: 4.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.03139, allocations: 4 kB / 285.5 MB, free: 4.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0314, allocations: 0 / 285.5 MB, free: 4.496 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.03141, allocations: 0 / 285.5 MB, free: 4.496 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.00245/0.03386, allocations: 1.59 MB / 287 MB, free: 2.859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.0339, allocations: 12.92 kB / 287.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.03412, allocations: 155.1 kB / 287.2 MB, free: 2.695 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.03549, allocations: 0.8487 MB / 288.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.03552, allocations: 16.5 kB / 288.1 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.03558, allocations: 20 kB / 288.1 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008304/0.03641, allocations: 364.9 kB / 288.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.03642, allocations: 0 / 288.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.03645, allocations: 8 kB / 288.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.03646, allocations: 8 kB / 288.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.03694, allocations: 243.7 kB / 288.7 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1074/0.1444, allocations: 1.202 MB / 289.9 MB, free: 32.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/0.1449, allocations: 239.1 kB / 290.1 MB, free: 32.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.1454, allocations: 290.4 kB / 290.4 MB, free: 32.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006612/0.1461, allocations: 172.9 kB / 290.6 MB, free: 32.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.1461, allocations: 39.16 kB / 290.6 MB, free: 32.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 2.104e-06/0.1461, allocations: 0 / 290.6 MB, free: 32.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.00272/0.1488, allocations: 1.434 MB / 292.1 MB, free: 32.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.1489, allocations: 114 kB / 292.2 MB, free: 32.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.1503, allocations: 1.262 MB / 293.4 MB, free: 31.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.1503, allocations: 35.77 kB / 293.5 MB, free: 31.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.1506, allocations: 460.9 kB / 293.9 MB, free: 31.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.161e-05/0.1507, allocations: 148.6 kB / 294.1 MB, free: 31.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.1509, allocations: 129.7 kB / 294.2 MB, free: 31.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.1509, allocations: 0.5009 MB / 294.7 MB, free: 30.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.1512, allocations: 135.5 kB / 294.8 MB, free: 30.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.1514, allocations: 226.1 kB / 295.1 MB, free: 30.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/0.1522, allocations: 0.5356 MB / 295.6 MB, free: 30.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1522, allocations: 0 / 295.6 MB, free: 30.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008804/0.153, allocations: 0.5762 MB / 296.2 MB, free: 29.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.1531, allocations: 41.02 kB / 296.2 MB, free: 29.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/0.1531, allocations: 12.66 kB / 296.2 MB, free: 29.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002785/0.1534, allocations: 93.3 kB / 296.3 MB, free: 29.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.1536, allocations: 39.42 kB / 296.3 MB, free: 29.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.1557, allocations: 4.299 MB / 300.6 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.156, allocations: 16.06 kB / 300.7 MB, free: 25.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.1561, allocations: 19.42 kB / 300.7 MB, free: 25.51 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.0003235/0.1564, allocations: 314.1 kB / 301 MB, free: 25.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.1565, allocations: 142.2 kB / 301.1 MB, free: 25.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.1578, allocations: 0.6735 MB / 301.8 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.1578, allocations: 6.969 kB / 301.8 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1578, allocations: 2.156 kB / 301.8 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.1578, allocations: 1.547 kB / 301.8 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000832/0.1586, allocations: 0.6858 MB / 302.5 MB, free: 24.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.657e-05/0.1586, allocations: 12.42 kB / 302.5 MB, free: 24.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.1588, allocations: 34.78 kB / 302.5 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002179/0.159, allocations: 89.08 kB / 302.6 MB, free: 24.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.1591, allocations: 14.52 kB / 302.6 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.161, allocations: 4.299 MB / 306.9 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.161, allocations: 0 / 306.9 MB, free: 20.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.1622, allocations: 0.9692 MB / 307.9 MB, free: 19.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004209/0.1626, allocations: 218.2 kB / 308.1 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.89e-05/0.1627, allocations: 8.781 kB / 308.1 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.163, allocations: 10.11 kB / 308.1 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.1631, allocations: 31.06 kB / 308.2 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.1631, allocations: 21.62 kB / 308.2 MB, free: 19.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0008496/0.164, allocations: 0.7516 MB / 308.9 MB, free: 19.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.164, allocations: 0 / 308.9 MB, free: 19.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008091/0.1648, allocations: 231 kB / 309.2 MB, free: 19.22 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.0005115/0.1653, allocations: 322.3 kB / 309.5 MB, free: 19.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.1663, allocations: 0.9332 MB / 310.4 MB, free: 18.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1663, allocations: 0 / 310.4 MB, free: 18.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005659/0.1669, allocations: 0.7506 MB / 311.2 MB, free: 17.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.1675, allocations: 127.2 kB / 311.3 MB, free: 17.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.1693, allocations: 1.598 MB / 312.9 MB, free: 16.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1696, allocations: 418 kB / 313.3 MB, free: 16.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.1698, allocations: 93.22 kB / 313.4 MB, free: 16.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.1699, allocations: 49.05 kB / 313.4 MB, free: 16.41 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1699, allocations: 0 / 313.4 MB, free: 16.41 MB / 266.7 MB Notification: Performance of Templates: time 0.015/0.1849, allocations: 9.066 MB / 322.5 MB, free: 7.754 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.778921956894919]