Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001405/0.001405, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.00164/0.00164, allocations: 216.7 kB / 22.99 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 59.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.233, allocations: 53.33 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006368/0.2393, allocations: 5.244 MB / 435 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009038/0.2484, allocations: 6.709 MB / 441.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006176/0.249, allocations: 39.69 kB / 441.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.2503, allocations: 0.4945 MB / 442.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.2526, allocations: 0.8264 MB / 443.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.2538, allocations: 438.3 kB / 443.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003249/0.257, allocations: 2.044 MB / 445.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.2573, allocations: 103.1 kB / 445.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/0.2579, allocations: 374.2 kB / 446 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004389/0.2583, allocations: 353.6 kB / 446.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.2584, allocations: 32 kB / 446.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.2595, allocations: 0.4917 MB / 446.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.2596, allocations: 115.2 kB / 447 MB, free: 6.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.26, allocations: 445 kB / 447.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.2616, allocations: 1.287 MB / 448.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2616, allocations: 4 kB / 448.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2616, allocations: 3.938 kB / 448.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.2616, allocations: 0 / 448.7 MB, free: 4.48 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.001973/0.2636, allocations: 1.486 MB / 450.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2636, allocations: 12.03 kB / 450.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003206/0.2639, allocations: 147.1 kB / 450.4 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.2651, allocations: 0.8631 MB / 451.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.2651, allocations: 16.44 kB / 451.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.2652, allocations: 27.95 kB / 451.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/0.2658, allocations: 314.6 kB / 451.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2658, allocations: 0 / 451.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.2658, allocations: 8 kB / 451.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.2659, allocations: 4 kB / 451.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.2663, allocations: 233.6 kB / 451.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.2681, allocations: 1.115 MB / 453 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.2686, allocations: 222.4 kB / 453.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.2691, allocations: 265 kB / 453.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.2702, allocations: 0.8424 MB / 454.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.2702, allocations: 38.56 kB / 454.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.944e-06/0.2702, allocations: 0 / 454.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003082/0.2733, allocations: 1.552 MB / 455.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.2733, allocations: 114.8 kB / 456 MB, free: 12.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.2745, allocations: 0.934 MB / 456.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.2745, allocations: 29.7 kB / 456.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.2748, allocations: 357.8 kB / 457.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.275, allocations: 138.8 kB / 457.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.2752, allocations: 121.7 kB / 457.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2753, allocations: 321.9 kB / 457.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.2755, allocations: 120.6 kB / 458 MB, free: 10.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.2758, allocations: 167.8 kB / 458.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.2773, allocations: 0.7218 MB / 458.9 MB, free: 9.805 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2773, allocations: 0 / 458.9 MB, free: 9.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00102/0.2783, allocations: 0.57 MB / 459.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/0.2783, allocations: 37.69 kB / 459.5 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/0.2784, allocations: 16 kB / 459.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/0.2786, allocations: 65.69 kB / 459.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.2788, allocations: 47.84 kB / 459.6 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.2818, allocations: 3.332 MB / 462.9 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.2822, allocations: 20.02 kB / 462.9 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/0.2822, allocations: 23.98 kB / 463 MB, free: 5.387 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.0004485/0.2827, allocations: 263.8 kB / 463.2 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.2828, allocations: 131.1 kB / 463.4 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.2842, allocations: 0.6647 MB / 464 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2842, allocations: 0 / 464 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2842, allocations: 4 kB / 464 MB, free: 4.297 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2842, allocations: 4 kB / 464 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007652/0.2849, allocations: 0.6082 MB / 464.6 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.87e-05/0.285, allocations: 19.98 kB / 464.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.2851, allocations: 35.86 kB / 464.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/0.2854, allocations: 69.67 kB / 464.8 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.2854, allocations: 15.98 kB / 464.8 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/0.2882, allocations: 3.332 MB / 468.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2882, allocations: 0 / 468.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.2896, allocations: 0.8594 MB / 469 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.29, allocations: 276.2 kB / 469.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-05/0.2901, allocations: 8 kB / 469.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.2903, allocations: 15.98 kB / 469.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.2904, allocations: 31.91 kB / 469.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.2905, allocations: 19.98 kB / 469.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008134/0.2913, allocations: 0.6295 MB / 469.9 MB, free: 14 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2913, allocations: 0 / 469.9 MB, free: 14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000821/0.2921, allocations: 223.6 kB / 470.2 MB, free: 13.79 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.0005626/0.2927, allocations: 313.6 kB / 470.5 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.2939, allocations: 0.7495 MB / 471.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2939, allocations: 0 / 471.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007415/0.2946, allocations: 0.5892 MB / 471.8 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.2952, allocations: 108.9 kB / 471.9 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.2978, allocations: 1.617 MB / 473.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/0.2985, allocations: 1.004 MB / 474.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002624/0.2988, allocations: 89.64 kB / 474.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.2988, allocations: 51.44 kB / 474.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2988, allocations: 0 / 474.7 MB, free: 9.07 MB / 382.1 MB Notification: Performance of Templates: time 0.01948/0.3183, allocations: 8.914 MB / 483.6 MB, free: 188 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.586679474450648]