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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002353/0.002353, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 47.92 kB / 370.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2393, allocations: 52.18 MB / 423 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.00625/0.2455, allocations: 4.578 MB / 427.6 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008576/0.2541, allocations: 5.816 MB / 433.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.2545, allocations: 63.31 kB / 433.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.2556, allocations: 468.6 kB / 434 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.2574, allocations: 0.8342 MB / 434.8 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009776/0.2584, allocations: 430.5 kB / 435.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002714/0.2611, allocations: 2.009 MB / 437.2 MB, free: 300 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.2613, allocations: 91.27 kB / 437.3 MB, free: 192 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005257/0.2619, allocations: 386.2 kB / 437.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004178/0.2623, allocations: 333.7 kB / 438 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-05/0.2624, allocations: 32 kB / 438 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009149/0.2633, allocations: 447.6 kB / 438.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.2634, allocations: 111.2 kB / 438.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.2637, allocations: 321.8 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.2652, allocations: 1.283 MB / 440.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2653, allocations: 4 kB / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2653, allocations: 0 / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.2653, allocations: 4 kB / 440.2 MB, free: 13.29 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.002043/0.2673, allocations: 1.411 MB / 441.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2673, allocations: 12.03 kB / 441.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.2675, allocations: 143 kB / 441.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.2687, allocations: 0.7677 MB / 442.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2688, allocations: 20.44 kB / 442.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.369e-05/0.2688, allocations: 16 kB / 442.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006363/0.2695, allocations: 378.6 kB / 442.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2695, allocations: 0 / 442.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.2695, allocations: 12 kB / 442.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.2695, allocations: 4 kB / 442.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.27, allocations: 263.5 kB / 443.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.2717, allocations: 0.9664 MB / 444.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.2721, allocations: 244.2 kB / 444.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.2727, allocations: 310.5 kB / 444.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007044/0.2734, allocations: 153.4 kB / 444.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.2734, allocations: 46.56 kB / 444.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.743e-06/0.2734, allocations: 0 / 444.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.002957/0.2764, allocations: 1.491 MB / 446.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.2764, allocations: 122.7 kB / 446.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.2776, allocations: 0.9379 MB / 447.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.2776, allocations: 29.7 kB / 447.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.2779, allocations: 361.7 kB / 447.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.278, allocations: 138.8 kB / 448 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.2782, allocations: 117.7 kB / 448.1 MB, free: 5.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.2784, allocations: 325.9 kB / 448.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.2786, allocations: 158.3 kB / 448.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.2789, allocations: 227.8 kB / 448.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.2804, allocations: 0.7375 MB / 449.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2804, allocations: 0 / 449.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009988/0.2814, allocations: 0.5953 MB / 450.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.2815, allocations: 45.72 kB / 450.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/0.2815, allocations: 12 kB / 450.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/0.2817, allocations: 69.69 kB / 450.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.2819, allocations: 43.91 kB / 450.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.2848, allocations: 3.068 MB / 453.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.2851, allocations: 16.02 kB / 453.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.2851, allocations: 20 kB / 453.4 MB, free: 15.49 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.0004301/0.2856, allocations: 259.9 kB / 453.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.2857, allocations: 131.2 kB / 453.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.2871, allocations: 0.6977 MB / 454.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.2871, allocations: 7.938 kB / 454.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2871, allocations: 8 kB / 454.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2871, allocations: 3.984 kB / 454.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000771/0.2879, allocations: 0.4968 MB / 455 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.673e-05/0.2879, allocations: 16 kB / 455 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.2881, allocations: 31.97 kB / 455 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001938/0.2883, allocations: 69.67 kB / 455.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.2884, allocations: 15.94 kB / 455.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002856/0.2912, allocations: 3.071 MB / 458.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.2912, allocations: 3.938 kB / 458.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.2927, allocations: 0.9447 MB / 459.1 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.2932, allocations: 208.9 kB / 459.3 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.2933, allocations: 4 kB / 459.3 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.2936, allocations: 19.92 kB / 459.4 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.163e-05/0.2937, allocations: 35.95 kB / 459.4 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.2937, allocations: 16 kB / 459.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008398/0.2945, allocations: 0.6295 MB / 460 MB, free: 8.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2945, allocations: 0 / 460 MB, free: 8.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000862/0.2954, allocations: 223.7 kB / 460.3 MB, free: 8.293 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.0006919/0.2961, allocations: 306.6 kB / 460.6 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.2975, allocations: 0.8229 MB / 461.4 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2975, allocations: 0 / 461.4 MB, free: 7.086 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007781/0.2983, allocations: 0.626 MB / 462 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.2989, allocations: 123.5 kB / 462.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.3015, allocations: 1.63 MB / 463.8 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.3019, allocations: 421 kB / 464.2 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002847/0.3022, allocations: 93.64 kB / 464.3 MB, free: 4.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.1e-05/0.3023, allocations: 51.42 kB / 464.3 MB, free: 4.02 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3023, allocations: 0 / 464.3 MB, free: 4.02 MB / 366.1 MB Notification: Performance of Templates: time 0.01968/0.3219, allocations: 9.898 MB / 474.2 MB, free: 10.19 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.88057728856802]