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.001839/0.001839, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002313/0.002313, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.002463/0.002463, allocations: 47.86 kB / 379 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2389, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006185/0.2451, allocations: 4.572 MB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008744/0.2539, allocations: 5.855 MB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006671/0.2545, allocations: 63.31 kB / 442.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.2558, allocations: 472.6 kB / 443.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.2581, allocations: 0.842 MB / 444.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2592, allocations: 438.3 kB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003116/0.2624, allocations: 2.048 MB / 446.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.2626, allocations: 107.2 kB / 446.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005722/0.2632, allocations: 394.2 kB / 447.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.2636, allocations: 345.6 kB / 447.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.864e-05/0.2637, allocations: 28 kB / 447.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.2648, allocations: 491.6 kB / 447.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2649, allocations: 111.2 kB / 448 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00032/0.2652, allocations: 321.8 kB / 448.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.2668, allocations: 1.303 MB / 449.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2668, allocations: 4 kB / 449.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2668, allocations: 0 / 449.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.2668, allocations: 0 / 449.7 MB, free: 5.324 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.002096/0.2689, allocations: 1.411 MB / 451.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.269, allocations: 8.031 kB / 451.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.2693, allocations: 151 kB / 451.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.2705, allocations: 0.7677 MB / 452 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.2706, allocations: 16.44 kB / 452 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.017e-05/0.2706, allocations: 27.95 kB / 452 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006117/0.2712, allocations: 370.6 kB / 452.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2713, allocations: 0 / 452.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.2713, allocations: 12 kB / 452.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.2713, allocations: 4 kB / 452.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.2718, allocations: 267.4 kB / 452.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.2735, allocations: 0.9548 MB / 453.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/0.274, allocations: 252.1 kB / 453.9 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/0.2745, allocations: 307.2 kB / 454.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007774/0.2752, allocations: 169.4 kB / 454.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.2753, allocations: 38.56 kB / 454.4 MB, free: 440 kB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.134e-06/0.2753, allocations: 0 / 454.4 MB, free: 440 kB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003118/0.2784, allocations: 1.497 MB / 455.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.2785, allocations: 114.8 kB / 456 MB, free: 14.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.2796, allocations: 0.9378 MB / 456.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.2796, allocations: 29.7 kB / 456.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.2799, allocations: 349.8 kB / 457.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.28, allocations: 142.7 kB / 457.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.2802, allocations: 121.7 kB / 457.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2804, allocations: 321.9 kB / 457.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.2806, allocations: 162.3 kB / 458 MB, free: 12.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.281, allocations: 227.8 kB / 458.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.2824, allocations: 0.7414 MB / 459 MB, free: 11.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2824, allocations: 0 / 459 MB, free: 11.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001024/0.2835, allocations: 0.5955 MB / 459.6 MB, free: 11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.2835, allocations: 37.69 kB / 459.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/0.2836, allocations: 16 kB / 459.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/0.2838, allocations: 69.67 kB / 459.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.2841, allocations: 51.84 kB / 459.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.2868, allocations: 3.075 MB / 462.8 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.2871, allocations: 12.03 kB / 462.8 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.968e-05/0.2872, allocations: 23.98 kB / 462.9 MB, free: 7.508 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.0003912/0.2876, allocations: 252 kB / 463.1 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.2878, allocations: 127.2 kB / 463.2 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.2892, allocations: 0.7055 MB / 463.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.2892, allocations: 11.94 kB / 463.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2892, allocations: 0 / 463.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2892, allocations: 0 / 463.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/0.2899, allocations: 0.4968 MB / 464.4 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-05/0.2899, allocations: 15.98 kB / 464.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.2901, allocations: 35.92 kB / 464.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/0.2903, allocations: 69.67 kB / 464.6 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.2904, allocations: 23.92 kB / 464.6 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/0.293, allocations: 3.063 MB / 467.7 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.293, allocations: 4.125 kB / 467.7 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.2944, allocations: 0.9445 MB / 468.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.2948, allocations: 201 kB / 468.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.2949, allocations: 8 kB / 468.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.2952, allocations: 8 kB / 468.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/0.2953, allocations: 36.02 kB / 468.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.2954, allocations: 19.98 kB / 468.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008141/0.2962, allocations: 0.6295 MB / 469.5 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2962, allocations: 0 / 469.5 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008573/0.2971, allocations: 231.5 kB / 469.7 MB, free: 328 kB / 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.0005471/0.2976, allocations: 306.6 kB / 470 MB, free: 12 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.2988, allocations: 0.8236 MB / 470.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2988, allocations: 0 / 470.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007686/0.2996, allocations: 0.6261 MB / 471.5 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006286/0.3002, allocations: 116.8 kB / 471.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.3026, allocations: 1.628 MB / 473.2 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.303, allocations: 417 kB / 473.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002677/0.3032, allocations: 93.64 kB / 473.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.165e-05/0.3033, allocations: 51.44 kB / 473.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3033, allocations: 0 / 473.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of Templates: time 0.0194/0.3227, allocations: 10.03 MB / 483.8 MB, free: 2.086 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 -s gbode -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: 5.009499695996055]