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.0015/0.0015, allocations: 117 kB / 18.41 MB, free: 4.664 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.001572/0.001572, allocations: 190.9 kB / 21.34 MB, free: 1.734 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.348/1.348, allocations: 222.9 MB / 247.1 MB, free: 4.32 MB / 190.1 MB " [Timeout remaining time 179] 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.001483/0.001483, allocations: 43.92 kB / 358.7 MB, free: 8.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.08749, allocations: 49.44 MB / 408.1 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005934/0.09347, allocations: 5.19 MB / 413.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008465/0.102, allocations: 6.623 MB / 419.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007972/0.1028, allocations: 43.62 kB / 420 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1042, allocations: 0.4968 MB / 420.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.1065, allocations: 0.8147 MB / 421.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1077, allocations: 430.4 kB / 421.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002858/0.1105, allocations: 1.997 MB / 423.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.1108, allocations: 171 kB / 423.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.1113, allocations: 354.2 kB / 424.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.1117, allocations: 345.6 kB / 424.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.1118, allocations: 28 kB / 424.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.1129, allocations: 487.6 kB / 425 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.113, allocations: 115.2 kB / 425.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004458/0.1135, allocations: 449 kB / 425.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.1153, allocations: 1.276 MB / 426.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.1153, allocations: 0 / 426.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1153, allocations: 0 / 426.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.1153, allocations: 0 / 426.9 MB, free: 4.203 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.002061/0.1174, allocations: 1.486 MB / 428.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1175, allocations: 8.031 kB / 428.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1176, allocations: 135.1 kB / 428.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.1187, allocations: 0.8631 MB / 429.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1188, allocations: 20.44 kB / 429.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.1188, allocations: 27.98 kB / 429.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.1194, allocations: 302.7 kB / 429.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1194, allocations: 0 / 429.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.1194, allocations: 8 kB / 429.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.1194, allocations: 15.94 kB / 429.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/0.1199, allocations: 225.7 kB / 429.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1846/0.3045, allocations: 1.121 MB / 431.1 MB, free: 22.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005701/0.3051, allocations: 252.3 kB / 431.3 MB, free: 22.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.3056, allocations: 290.6 kB / 431.6 MB, free: 22.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008857/0.3065, allocations: 0.7509 MB / 432.3 MB, free: 22.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.3065, allocations: 36.69 kB / 432.4 MB, free: 22.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 3.276e-06/0.3065, allocations: 1.375 kB / 432.4 MB, free: 22.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003163/0.3097, allocations: 1.576 MB / 434 MB, free: 21.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.3098, allocations: 115.4 kB / 434.1 MB, free: 21.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3109, allocations: 0.9274 MB / 435 MB, free: 21.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.3109, allocations: 32.64 kB / 435 MB, free: 21.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.3112, allocations: 360 kB / 435.4 MB, free: 21.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.84e-05/0.3112, allocations: 140.9 kB / 435.5 MB, free: 20.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.3114, allocations: 113.6 kB / 435.6 MB, free: 20.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.3115, allocations: 326.6 kB / 435.9 MB, free: 20.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.3118, allocations: 120.4 kB / 436.1 MB, free: 20.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.312, allocations: 155.3 kB / 436.2 MB, free: 20.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.3135, allocations: 0.7369 MB / 436.9 MB, free: 20.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3135, allocations: 2.828 kB / 437 MB, free: 20.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00105/0.3146, allocations: 0.5621 MB / 437.5 MB, free: 20.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.3146, allocations: 41.05 kB / 437.6 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-05/0.3147, allocations: 12.5 kB / 437.6 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.3149, allocations: 66.25 kB / 437.6 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.3151, allocations: 54.02 kB / 437.7 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.3173, allocations: 3.332 MB / 441 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.3177, allocations: 15.02 kB / 441 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.3177, allocations: 19.36 kB / 441 MB, free: 17.28 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.000444/0.3182, allocations: 263.8 kB / 441.3 MB, free: 17.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.3183, allocations: 128.9 kB / 441.4 MB, free: 17.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.3197, allocations: 0.6681 MB / 442.1 MB, free: 16.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3197, allocations: 3.531 kB / 442.1 MB, free: 16.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3198, allocations: 1.188 kB / 442.1 MB, free: 16.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3198, allocations: 6.156 kB / 442.1 MB, free: 16.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.3208, allocations: 0.6171 MB / 442.7 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.94e-05/0.3208, allocations: 12.77 kB / 442.7 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.321, allocations: 33.39 kB / 442.8 MB, free: 16.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.3212, allocations: 73.52 kB / 442.8 MB, free: 16.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.3213, allocations: 16.38 kB / 442.9 MB, free: 16.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.3233, allocations: 3.33 MB / 446.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3233, allocations: 0 / 446.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.3248, allocations: 0.8649 MB / 447.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003856/0.3252, allocations: 285.5 kB / 447.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/0.3253, allocations: 7 kB / 447.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.3256, allocations: 12.94 kB / 447.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.3257, allocations: 32.2 kB / 447.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.3257, allocations: 19.12 kB / 447.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009321/0.3266, allocations: 0.6256 MB / 448 MB, free: 13.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3267, allocations: 1.375 kB / 448 MB, free: 13.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000931/0.3276, allocations: 226.7 kB / 448.3 MB, free: 13.23 MB / 350.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.0005976/0.3282, allocations: 304 kB / 448.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3293, allocations: 0.7819 MB / 449.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.3293, allocations: 0 / 449.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006319/0.33, allocations: 0.6133 MB / 449.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.3306, allocations: 114.9 kB / 450.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.3329, allocations: 1.649 MB / 451.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.3334, allocations: 1.004 MB / 452.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.3335, allocations: 53.88 kB / 452.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3335, allocations: 0 / 452.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Templates: time 0.02399/0.3575, allocations: 17.4 MB / 470.2 MB, free: 1.691 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.939800538937561]