Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001685/0.001685, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001902/0.001902, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 258.2 MB, free: 8.059 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 64.7 kB / 379 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2373, allocations: 53.37 MB / 432.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006486/0.2438, allocations: 5.248 MB / 437.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009412/0.2532, allocations: 6.711 MB / 444.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.2538, allocations: 63.31 kB / 444.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.2551, allocations: 0.4966 MB / 444.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.2573, allocations: 0.8381 MB / 445.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.2584, allocations: 438.4 kB / 446.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003123/0.2616, allocations: 2.052 MB / 448.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.2618, allocations: 99.27 kB / 448.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005687/0.2623, allocations: 390.2 kB / 448.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.2628, allocations: 353.6 kB / 449.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.2628, allocations: 28 kB / 449.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.2639, allocations: 0.4917 MB / 449.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.264, allocations: 111.2 kB / 449.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004044/0.2644, allocations: 449 kB / 450.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.266, allocations: 1.291 MB / 451.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.266, allocations: 0 / 451.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.266, allocations: 0 / 451.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.266, allocations: 4 kB / 451.4 MB, free: 3.891 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.00201/0.2681, allocations: 1.407 MB / 452.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2681, allocations: 8.031 kB / 452.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/0.2684, allocations: 151 kB / 453 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.2696, allocations: 0.7677 MB / 453.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.2696, allocations: 16.44 kB / 453.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.2697, allocations: 35.83 kB / 453.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000565/0.2702, allocations: 307.3 kB / 454.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2702, allocations: 4 kB / 454.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.2703, allocations: 15.98 kB / 454.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.2703, allocations: 4 kB / 454.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.2707, allocations: 233.7 kB / 454.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.2725, allocations: 1.057 MB / 455.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004023/0.2729, allocations: 218.4 kB / 455.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004779/0.2733, allocations: 261 kB / 455.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008214/0.2742, allocations: 169.4 kB / 456 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.2742, allocations: 30.56 kB / 456.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.793e-06/0.2742, allocations: 4 kB / 456.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.002973/0.2772, allocations: 1.423 MB / 457.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.2772, allocations: 114.8 kB / 457.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.2784, allocations: 0.9378 MB / 458.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.2784, allocations: 33.7 kB / 458.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.2787, allocations: 349.8 kB / 458.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.2788, allocations: 142.7 kB / 459.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.279, allocations: 117.7 kB / 459.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2791, allocations: 325.9 kB / 459.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.2794, allocations: 132.5 kB / 459.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.2797, allocations: 164.4 kB / 459.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.2811, allocations: 0.7298 MB / 460.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2811, allocations: 4 kB / 460.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009857/0.2821, allocations: 0.5624 MB / 461.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.2822, allocations: 37.69 kB / 461.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.312e-05/0.2822, allocations: 16 kB / 461.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002256/0.2824, allocations: 73.66 kB / 461.2 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.2827, allocations: 47.91 kB / 461.3 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.2854, allocations: 3.125 MB / 464.4 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.2857, allocations: 16.03 kB / 464.4 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.815e-05/0.2858, allocations: 23.98 kB / 464.4 MB, free: 6.316 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.0004192/0.2862, allocations: 259.9 kB / 464.7 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.2864, allocations: 131.1 kB / 464.8 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.2877, allocations: 0.6608 MB / 465.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.2877, allocations: 4 kB / 465.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2877, allocations: 0 / 465.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2877, allocations: 7.969 kB / 465.5 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007311/0.2884, allocations: 0.5878 MB / 466.1 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-05/0.2884, allocations: 16 kB / 466.1 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.2886, allocations: 39.84 kB / 466.1 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/0.2888, allocations: 69.67 kB / 466.2 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.2889, allocations: 16 kB / 466.2 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002637/0.2915, allocations: 3.122 MB / 469.3 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2915, allocations: 4 kB / 469.3 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.2929, allocations: 0.8632 MB / 470.2 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.2933, allocations: 197.1 kB / 470.4 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.109e-05/0.2933, allocations: 8 kB / 470.4 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.2936, allocations: 15.97 kB / 470.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/0.2937, allocations: 39.95 kB / 470.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.2938, allocations: 20 kB / 470.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008/0.2946, allocations: 0.6295 MB / 471.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2946, allocations: 0 / 471.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008122/0.2954, allocations: 227.5 kB / 471.3 MB, free: 15.08 MB / 382.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.0005268/0.2959, allocations: 306.5 kB / 471.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.2971, allocations: 0.746 MB / 472.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2971, allocations: 0 / 472.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007185/0.2978, allocations: 0.5893 MB / 472.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.2984, allocations: 104.7 kB / 473 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.3008, allocations: 1.599 MB / 474.6 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006867/0.3015, allocations: 0.9961 MB / 475.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002701/0.3018, allocations: 93.64 kB / 475.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.3018, allocations: 51.42 kB / 475.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3018, allocations: 0 / 475.8 MB, free: 10.41 MB / 382.1 MB Notification: Performance of Templates: time 0.01882/0.3207, allocations: 8.993 MB / 484.8 MB, free: 1.453 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.612392103299499]