Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00177/0.00177, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.002121/0.002121, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.391/1.391, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.84 kB / 378.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2152, allocations: 53.32 MB / 432 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006395/0.2216, allocations: 5.257 MB / 437.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008777/0.2303, allocations: 6.703 MB / 444 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005902/0.2309, allocations: 39.69 kB / 444 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.2322, allocations: 0.4929 MB / 444.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.2341, allocations: 0.8381 MB / 445.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00099/0.2351, allocations: 442.3 kB / 445.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002818/0.238, allocations: 2.04 MB / 447.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.2382, allocations: 103 kB / 447.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004813/0.2387, allocations: 386.1 kB / 448.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.2391, allocations: 345.7 kB / 448.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.2392, allocations: 28 kB / 448.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009274/0.2401, allocations: 499.6 kB / 449.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.2402, allocations: 111.2 kB / 449.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003888/0.2406, allocations: 449 kB / 449.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.2421, allocations: 1.287 MB / 451 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2421, allocations: 3.938 kB / 451 MB, free: 4.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2421, allocations: 4 kB / 451 MB, free: 4.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.2421, allocations: 0 / 451 MB, free: 4.352 MB / 350.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.002048/0.2441, allocations: 1.494 MB / 452.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2442, allocations: 8.031 kB / 452.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.2445, allocations: 151 kB / 452.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.2457, allocations: 0.8593 MB / 453.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.2457, allocations: 16.44 kB / 453.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.2458, allocations: 23.95 kB / 453.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.2463, allocations: 314.6 kB / 453.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2463, allocations: 0 / 453.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.2463, allocations: 15.94 kB / 453.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2463, allocations: 8 kB / 453.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004213/0.2468, allocations: 217.7 kB / 454.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.2486, allocations: 1.118 MB / 455.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.249, allocations: 218.9 kB / 455.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004812/0.2495, allocations: 261.6 kB / 455.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.2505, allocations: 0.8347 MB / 456.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.2505, allocations: 38.55 kB / 456.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 3.516e-06/0.2505, allocations: 7.984 kB / 456.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.00295/0.2535, allocations: 1.561 MB / 458.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.2535, allocations: 118.8 kB / 458.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.2546, allocations: 0.9339 MB / 459.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.2546, allocations: 29.7 kB / 459.2 MB, free: 11.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.2549, allocations: 357.8 kB / 459.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.255, allocations: 138.8 kB / 459.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.2552, allocations: 117.7 kB / 459.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2553, allocations: 321.9 kB / 460.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.2556, allocations: 128.6 kB / 460.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.2559, allocations: 159.8 kB / 460.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.2573, allocations: 0.7335 MB / 461.1 MB, free: 9.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2573, allocations: 0 / 461.1 MB, free: 9.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009451/0.2583, allocations: 0.5544 MB / 461.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.2583, allocations: 41.69 kB / 461.7 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/0.2583, allocations: 12 kB / 461.8 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.2585, allocations: 73.66 kB / 461.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.2588, allocations: 47.97 kB / 461.9 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.2615, allocations: 3.325 MB / 465.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.2618, allocations: 19.95 kB / 465.2 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/0.2618, allocations: 20 kB / 465.2 MB, free: 5.27 MB / 366.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.0003541/0.2622, allocations: 259.9 kB / 465.5 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.2623, allocations: 135.1 kB / 465.6 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.2636, allocations: 0.6724 MB / 466.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2636, allocations: 0 / 466.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.626e-05/0.2637, allocations: 16 kB / 466.3 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/0.2641, allocations: 276.1 kB / 466.6 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.2642, allocations: 8 kB / 466.6 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.2644, allocations: 12 kB / 466.6 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.2645, allocations: 31.95 kB / 466.6 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001256/0.2658, allocations: 0.6362 MB / 467.3 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001211/0.267, allocations: 0.8817 MB / 468.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002817/0.2673, allocations: 139.9 kB / 468.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00076/0.268, allocations: 0.6295 MB / 468.9 MB, free: 1.477 MB / 366.1 MB Notification: Performance of Backend: time 2.9e-07/0.268, allocations: 4 kB / 468.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.2697, allocations: 0.8882 MB / 469.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of SimCode: time 0.002536/0.2722, allocations: 2.286 MB / 472.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of Templates: time 0.01814/0.2904, allocations: 9.356 MB / 481.4 MB, free: 4.824 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.39629524666816]