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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 107.1 kB / 17.06 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 191 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009699/0.0009699, allocations: 51.91 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2178, allocations: 49.44 MB / 400.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005558/0.2234, allocations: 5.2 MB / 405.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00782/0.2313, allocations: 6.616 MB / 412.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005266/0.2318, allocations: 39.69 kB / 412.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.2329, allocations: 0.5058 MB / 413.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.2348, allocations: 0.8147 MB / 413.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009907/0.2358, allocations: 438.5 kB / 414.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002527/0.2384, allocations: 1.993 MB / 416.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.2387, allocations: 178.9 kB / 416.5 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.2391, allocations: 374.2 kB / 416.9 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003684/0.2395, allocations: 345.6 kB / 417.2 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.2396, allocations: 28 kB / 417.2 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.2406, allocations: 491.5 kB / 417.7 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.2407, allocations: 111.2 kB / 417.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003954/0.2411, allocations: 453 kB / 418.2 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.2424, allocations: 1.261 MB / 419.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2425, allocations: 0 / 419.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2425, allocations: 7.875 kB / 419.5 MB, free: 6.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.2425, allocations: 0 / 419.5 MB, free: 6.105 MB / 334.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.001794/0.2443, allocations: 1.44 MB / 421 MB, free: 4.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2443, allocations: 8.031 kB / 421 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.2445, allocations: 130.4 kB / 421.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.2456, allocations: 0.8502 MB / 421.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2456, allocations: 24.42 kB / 422 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.2456, allocations: 27.91 kB / 422 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.2462, allocations: 306.7 kB / 422.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2462, allocations: 0 / 422.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.2462, allocations: 12 kB / 422.3 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.2462, allocations: 4 kB / 422.3 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003906/0.2466, allocations: 229.6 kB / 422.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.2483, allocations: 1.11 MB / 423.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.2487, allocations: 246.4 kB / 423.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004838/0.2492, allocations: 297 kB / 424.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009886/0.2502, allocations: 0.7515 MB / 424.9 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2502, allocations: 42.56 kB / 425 MB, free: 316 kB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.923e-06/0.2502, allocations: 0 / 425 MB, free: 316 kB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.002888/0.2531, allocations: 1.549 MB / 426.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.2532, allocations: 122.7 kB / 426.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009512/0.2542, allocations: 0.9262 MB / 427.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.2542, allocations: 29.7 kB / 427.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.2545, allocations: 361.5 kB / 427.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.2546, allocations: 130.1 kB / 428.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.2548, allocations: 113.6 kB / 428.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2549, allocations: 329.9 kB / 428.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.2552, allocations: 128.5 kB / 428.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.2554, allocations: 155.8 kB / 428.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.2568, allocations: 0.7333 MB / 429.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2568, allocations: 0 / 429.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008703/0.2577, allocations: 0.5615 MB / 430.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.2577, allocations: 41.72 kB / 430.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/0.2578, allocations: 20 kB / 430.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.258, allocations: 69.67 kB / 430.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.2582, allocations: 39.92 kB / 430.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.2606, allocations: 3.331 MB / 433.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.2609, allocations: 8.031 kB / 433.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.261, allocations: 24.06 kB / 433.6 MB, free: 7.156 MB / 350.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.0003331/0.2613, allocations: 263.9 kB / 433.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.2614, allocations: 122.4 kB / 434 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.2626, allocations: 0.6725 MB / 434.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2627, allocations: 4 kB / 434.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.2627, allocations: 0 / 434.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.2627, allocations: 0 / 434.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.2633, allocations: 0.6082 MB / 435.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/0.2634, allocations: 19.98 kB / 435.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.2636, allocations: 43.86 kB / 435.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001788/0.2637, allocations: 65.67 kB / 435.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.2638, allocations: 19.98 kB / 435.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.2661, allocations: 3.32 MB / 438.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2661, allocations: 0 / 438.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.2673, allocations: 0.8666 MB / 439.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.2676, allocations: 267.5 kB / 439.9 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.649e-05/0.2677, allocations: 11.98 kB / 439.9 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.268, allocations: 12.06 kB / 439.9 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.2681, allocations: 39.91 kB / 439.9 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.2681, allocations: 19.98 kB / 439.9 MB, free: 416 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006792/0.2688, allocations: 0.6256 MB / 440.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2688, allocations: 4 kB / 440.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007399/0.2696, allocations: 219.9 kB / 440.8 MB, free: 15.56 MB / 366.1 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.0004857/0.2701, allocations: 303.4 kB / 441.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.2711, allocations: 0.7688 MB / 441.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2711, allocations: 8.062 kB / 441.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006513/0.2718, allocations: 0.6203 MB / 442.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.2724, allocations: 116.9 kB / 442.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.2744, allocations: 1.566 MB / 444.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.2749, allocations: 1.008 MB / 445.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002272/0.2752, allocations: 85.66 kB / 445.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.492e-05/0.2752, allocations: 51.44 kB / 445.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2753, allocations: 0 / 445.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of Templates: time 0.01537/0.2906, allocations: 8.678 MB / 454 MB, free: 2.199 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) 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) Reference file matches