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.001638/0.001638, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 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.002058/0.002058, allocations: 214.8 kB / 24.49 MB, free: 3.934 MB / 14.72 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.789 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+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 0.001606/0.001606, allocations: 43.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2103, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005867/0.2161, allocations: 4.572 MB / 436.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008152/0.2243, allocations: 5.868 MB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004064/0.2247, allocations: 63.31 kB / 442.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.226, allocations: 468.6 kB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.2283, allocations: 0.8342 MB / 444.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.2294, allocations: 438.3 kB / 444.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002871/0.2323, allocations: 2.056 MB / 446.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.2325, allocations: 99.25 kB / 446.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005261/0.233, allocations: 394.2 kB / 447.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.2334, allocations: 345.6 kB / 447.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.843e-05/0.2335, allocations: 32 kB / 447.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000966/0.2345, allocations: 487.6 kB / 447.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.2346, allocations: 111.2 kB / 448 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003152/0.2349, allocations: 329.7 kB / 448.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.2364, allocations: 1.303 MB / 449.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2364, allocations: 4 kB / 449.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2364, allocations: 0 / 449.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.2364, allocations: 0 / 449.7 MB, free: 5.285 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.002115/0.2385, allocations: 1.411 MB / 451.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2386, allocations: 8.031 kB / 451.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.2389, allocations: 147.1 kB / 451.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.2401, allocations: 0.76 MB / 452 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.2401, allocations: 24.38 kB / 452 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/0.2402, allocations: 23.95 kB / 452 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/0.2408, allocations: 370.7 kB / 452.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2409, allocations: 0 / 452.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.2409, allocations: 8 kB / 452.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2409, allocations: 8 kB / 452.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.2414, allocations: 263.5 kB / 452.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.2432, allocations: 0.9625 MB / 453.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.2436, allocations: 256.1 kB / 453.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/0.2441, allocations: 307.2 kB / 454.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000762/0.2449, allocations: 173.3 kB / 454.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.2449, allocations: 34.55 kB / 454.4 MB, free: 400 kB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.064e-06/0.2449, allocations: 0 / 454.4 MB, free: 400 kB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003048/0.248, allocations: 1.489 MB / 455.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.248, allocations: 114.8 kB / 456 MB, free: 14.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.2491, allocations: 0.9339 MB / 456.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.2492, allocations: 33.7 kB / 457 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.2495, allocations: 353.8 kB / 457.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.2496, allocations: 138.8 kB / 457.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.2498, allocations: 121.7 kB / 457.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.2499, allocations: 318 kB / 457.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.2502, allocations: 158.3 kB / 458 MB, free: 12.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.2505, allocations: 227.8 kB / 458.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.252, allocations: 0.7491 MB / 459 MB, free: 11.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.252, allocations: 0 / 459 MB, free: 11.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001015/0.253, allocations: 0.5955 MB / 459.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.2531, allocations: 41.62 kB / 459.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.233e-05/0.2531, allocations: 16 kB / 459.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.2533, allocations: 65.69 kB / 459.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.2536, allocations: 39.97 kB / 459.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.2563, allocations: 3.083 MB / 462.8 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.2565, allocations: 12.02 kB / 462.8 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.2566, allocations: 24 kB / 462.9 MB, free: 7.48 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.0003793/0.257, allocations: 260.1 kB / 463.1 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.2571, allocations: 127.2 kB / 463.2 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.2585, allocations: 0.7014 MB / 463.9 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2585, allocations: 7.984 kB / 464 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-05/0.2586, allocations: 15.94 kB / 464 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.259, allocations: 204.9 kB / 464.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.2591, allocations: 8 kB / 464.2 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.2594, allocations: 12 kB / 464.2 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/0.2595, allocations: 35.94 kB / 464.2 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001323/0.2608, allocations: 0.6807 MB / 464.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001294/0.2621, allocations: 0.9476 MB / 465.9 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003207/0.2624, allocations: 189.6 kB / 466 MB, free: 4.184 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000787/0.2632, allocations: 0.6256 MB / 466.7 MB, free: 3.555 MB / 366.1 MB Notification: Performance of Backend: time 4.11e-07/0.2632, allocations: 0 / 466.7 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.265, allocations: 0.9361 MB / 467.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of SimCode: time 0.002632/0.2677, allocations: 2.294 MB / 469.9 MB, free: 156 kB / 366.1 MB Notification: Performance of Templates: time 0.01984/0.2875, allocations: 10.63 MB / 480.5 MB, free: 5.594 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/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.515285630004655]