Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009787/0.0009787, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9227/0.9227, allocations: 177 MB / 205.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 273 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.538e-05, allocations: 2.312 kB / 273 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005042/0.005067, allocations: 5.037 MB / 278 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006664/0.01173, allocations: 6.394 MB / 284.4 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008133/0.01254, allocations: 63.31 kB / 284.5 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.01369, allocations: 472.7 kB / 284.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.01588, allocations: 0.8533 MB / 285.8 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.01695, allocations: 450.2 kB / 286.2 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002594/0.01954, allocations: 2.109 MB / 288.3 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.01981, allocations: 95.25 kB / 288.4 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009991/0.02081, allocations: 0.5103 MB / 288.9 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.02113, allocations: 231.1 kB / 289.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.02117, allocations: 32 kB / 289.2 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008922/0.02207, allocations: 471.4 kB / 289.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.02218, allocations: 107.2 kB / 289.8 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.02241, allocations: 239.2 kB / 290 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1185/0.1409, allocations: 0.9807 MB / 291 MB, free: 17.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1409, allocations: 0 / 291 MB, free: 17.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1409, allocations: 1.375 kB / 291 MB, free: 17.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.396e-05/0.1409, allocations: 0.7031 kB / 291 MB, free: 17.39 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.001764/0.1427, allocations: 1.539 MB / 292.5 MB, free: 16.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.1427, allocations: 16.39 kB / 292.5 MB, free: 16.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.1431, allocations: 161.2 kB / 292.7 MB, free: 16.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009523/0.1441, allocations: 0.8575 MB / 293.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1441, allocations: 14.84 kB / 293.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.1441, allocations: 23.22 kB / 293.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.1446, allocations: 322.5 kB / 293.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1446, allocations: 1.609 kB / 293.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.1446, allocations: 10.66 kB / 293.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.1446, allocations: 9.5 kB / 293.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/0.1449, allocations: 165 kB / 294.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.1462, allocations: 1.044 MB / 295.1 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.1465, allocations: 210.1 kB / 295.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.1469, allocations: 253.7 kB / 295.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004873/0.1474, allocations: 179.8 kB / 295.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1474, allocations: 39.69 kB / 295.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=38): time 4.418e-06/0.1474, allocations: 0.5625 kB / 295.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.001868/0.1493, allocations: 1.233 MB / 297 MB, free: 14.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.1493, allocations: 114.6 kB / 297.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009579/0.1502, allocations: 1.015 MB / 298.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.1503, allocations: 30.52 kB / 298.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.1505, allocations: 435.5 kB / 298.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.1506, allocations: 137.6 kB / 298.7 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1507, allocations: 122.7 kB / 298.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.1507, allocations: 0.4944 MB / 299.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1509, allocations: 96.5 kB / 299.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.151, allocations: 180.5 kB / 299.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.1514, allocations: 382.4 kB / 300 MB, free: 13.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1514, allocations: 3.938 kB / 300 MB, free: 13.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006164/0.1521, allocations: 497.4 kB / 300.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/0.1521, allocations: 41.89 kB / 300.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.1521, allocations: 21.91 kB / 300.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.1523, allocations: 64 kB / 300.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1525, allocations: 47.53 kB / 300.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.154, allocations: 4.108 MB / 304.8 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.1543, allocations: 15.61 kB / 304.8 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/0.1543, allocations: 19.77 kB / 304.8 MB, free: 9.199 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.0002522/0.1546, allocations: 219.4 kB / 305 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.1547, allocations: 145.5 kB / 305.2 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008388/0.1555, allocations: 0.5824 MB / 305.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1555, allocations: 3.875 kB / 305.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1555, allocations: 1.594 kB / 305.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.1555, allocations: 5.438 kB / 305.7 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/0.1563, allocations: 0.5661 MB / 306.3 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/0.1563, allocations: 15.84 kB / 306.3 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.1564, allocations: 31.58 kB / 306.4 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001731/0.1566, allocations: 68 kB / 306.4 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.1566, allocations: 18.7 kB / 306.4 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.1578, allocations: 4.118 MB / 310.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1578, allocations: 0.6094 kB / 310.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008401/0.1587, allocations: 0.7852 MB / 311.3 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.159, allocations: 223.8 kB / 311.6 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.1591, allocations: 10.41 kB / 311.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.1592, allocations: 14.73 kB / 311.6 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.1593, allocations: 36.5 kB / 311.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.1594, allocations: 15.11 kB / 311.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006458/0.16, allocations: 0.6077 MB / 312.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.16, allocations: 0 / 312.3 MB, free: 3.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007395/0.1608, allocations: 228.1 kB / 312.5 MB, free: 3.367 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.0005155/0.1613, allocations: 327.5 kB / 312.8 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007481/0.162, allocations: 0.8276 MB / 313.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.162, allocations: 0 / 313.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.1624, allocations: 0.6992 MB / 314.3 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.1628, allocations: 127.7 kB / 314.4 MB, free: 1.887 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.1642, allocations: 1.485 MB / 315.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.1643, allocations: 167.1 kB / 316.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.1645, allocations: 93.45 kB / 316.2 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.1645, allocations: 46.06 kB / 316.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of SimCode: time 1.363e-06/0.1645, allocations: 2.938 kB / 316.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of Templates: time 0.01303/0.1775, allocations: 9.126 MB / 325.4 MB, free: 10.55 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9845180991105735]