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.001021/0.001021, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.0009919/0.0009919, allocations: 187 kB / 18.68 MB, free: 4.406 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.289/1.289, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009842/0.0009843, allocations: 51.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2161, allocations: 49.43 MB / 401.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005685/0.2218, allocations: 5.203 MB / 406.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008809/0.2306, allocations: 6.623 MB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006075/0.2313, allocations: 39.69 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.2325, allocations: 0.5018 MB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.2341, allocations: 0.8147 MB / 414.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009818/0.2351, allocations: 446.4 kB / 415 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002388/0.2375, allocations: 1.989 MB / 417 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000272/0.2378, allocations: 171 kB / 417.2 MB, free: 9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.2382, allocations: 374.2 kB / 417.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.2386, allocations: 341.7 kB / 417.9 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.235e-05/0.2387, allocations: 28 kB / 417.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000877/0.2396, allocations: 495.5 kB / 418.4 MB, free: 7.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2397, allocations: 115.2 kB / 418.5 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.24, allocations: 445 kB / 418.9 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.2412, allocations: 1.265 MB / 420.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2413, allocations: 0 / 420.2 MB, free: 5.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2413, allocations: 7.938 kB / 420.2 MB, free: 5.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.2413, allocations: 0 / 420.2 MB, free: 5.957 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.001811/0.2431, allocations: 1.44 MB / 421.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2431, allocations: 8.031 kB / 421.7 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.2433, allocations: 126.4 kB / 421.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.2443, allocations: 0.8542 MB / 422.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.2444, allocations: 20.42 kB / 422.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.2444, allocations: 27.91 kB / 422.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.245, allocations: 310.6 kB / 423 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.245, allocations: 0 / 423 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.245, allocations: 4 kB / 423 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.245, allocations: 8 kB / 423 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.2454, allocations: 229.7 kB / 423.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.2471, allocations: 1.11 MB / 424.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.2475, allocations: 246.4 kB / 424.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.2479, allocations: 289 kB / 424.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008725/0.2488, allocations: 0.7555 MB / 425.6 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.2489, allocations: 38.5 kB / 425.6 MB, free: 176 kB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.934e-06/0.2489, allocations: 4 kB / 425.6 MB, free: 172 kB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.002782/0.2517, allocations: 1.552 MB / 427.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.2517, allocations: 122.8 kB / 427.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009271/0.2527, allocations: 0.9301 MB / 428.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.2527, allocations: 29.7 kB / 428.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.253, allocations: 361.5 kB / 428.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.811e-05/0.2531, allocations: 130.1 kB / 428.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.2532, allocations: 113.6 kB / 428.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.2534, allocations: 329.9 kB / 429.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.2536, allocations: 120.6 kB / 429.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.2539, allocations: 159.8 kB / 429.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.2552, allocations: 0.7293 MB / 430.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2552, allocations: 4 kB / 430.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008909/0.2561, allocations: 0.5577 MB / 430.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.2562, allocations: 45.69 kB / 430.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/0.2562, allocations: 11.94 kB / 430.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/0.2564, allocations: 85.64 kB / 430.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.2567, allocations: 43.97 kB / 430.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/0.2591, allocations: 3.324 MB / 434.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.2593, allocations: 8 kB / 434.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.2594, allocations: 23.98 kB / 434.3 MB, free: 7.008 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.0003453/0.2597, allocations: 269.5 kB / 434.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.2599, allocations: 122.4 kB / 434.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.2611, allocations: 0.6646 MB / 435.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2612, allocations: 4 kB / 435.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/0.2612, allocations: 11.98 kB / 435.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.2616, allocations: 271.5 kB / 435.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.2617, allocations: 8 kB / 435.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.262, allocations: 11.98 kB / 435.6 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.2621, allocations: 35.95 kB / 435.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001186/0.2633, allocations: 0.6399 MB / 436.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001103/0.2644, allocations: 0.8693 MB / 437.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002781/0.2647, allocations: 171.9 kB / 437.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006801/0.2654, allocations: 0.6295 MB / 438 MB, free: 3.203 MB / 350.1 MB Notification: Performance of Backend: time 4.91e-07/0.2654, allocations: 0 / 438 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.267, allocations: 0.9041 MB / 438.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of SimCode: time 0.002243/0.2692, allocations: 2.263 MB / 441.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Templates: time 0.01565/0.2849, allocations: 8.979 MB / 450.1 MB, free: 6.934 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/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