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.001287/0.001287, allocations: 116.1 kB / 21.18 MB, free: 0.5898 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.001361/0.001361, allocations: 209.9 kB / 24.47 MB, free: 3.996 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.381/1.381, allocations: 230.4 MB / 258.1 MB, free: 8.164 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.001901/0.001901, allocations: 79.83 kB / 378.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2444, allocations: 53.31 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.006415/0.2508, allocations: 5.245 MB / 437.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009193/0.26, allocations: 6.707 MB / 444 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007809/0.2608, allocations: 43.69 kB / 444 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.2622, allocations: 0.5007 MB / 444.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.2646, allocations: 0.8342 MB / 445.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.2659, allocations: 438.3 kB / 445.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003285/0.2692, allocations: 2.04 MB / 447.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002654/0.2694, allocations: 107 kB / 447.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005912/0.27, allocations: 382.2 kB / 448.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.2705, allocations: 349.6 kB / 448.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.2705, allocations: 28 kB / 448.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.2717, allocations: 499.5 kB / 449.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.2718, allocations: 111.2 kB / 449.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.2722, allocations: 445 kB / 449.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.2739, allocations: 1.295 MB / 451 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2739, allocations: 0 / 451 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2739, allocations: 0 / 451 MB, free: 4.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.2739, allocations: 0 / 451 MB, free: 4.348 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.002127/0.276, allocations: 1.486 MB / 452.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2761, allocations: 12.03 kB / 452.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.2764, allocations: 151 kB / 452.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.2776, allocations: 0.8631 MB / 453.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.2776, allocations: 16.44 kB / 453.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.2777, allocations: 27.95 kB / 453.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.2783, allocations: 306.7 kB / 453.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2783, allocations: 0 / 453.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.2783, allocations: 8 kB / 453.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.2783, allocations: 4 kB / 453.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.2787, allocations: 233.6 kB / 454.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.2806, allocations: 1.115 MB / 455.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.281, allocations: 222.9 kB / 455.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.2815, allocations: 265.6 kB / 455.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001331/0.2829, allocations: 0.8308 MB / 456.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.2829, allocations: 42.56 kB / 456.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.164e-06/0.2829, allocations: 0 / 456.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003182/0.2861, allocations: 1.565 MB / 458.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/0.2862, allocations: 110.8 kB / 458.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.2873, allocations: 0.934 MB / 459.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.2873, allocations: 29.7 kB / 459.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.2876, allocations: 357.8 kB / 459.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.2877, allocations: 130.8 kB / 459.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.2879, allocations: 129.6 kB / 459.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2881, allocations: 325.9 kB / 460.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.2883, allocations: 124.5 kB / 460.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.2886, allocations: 159.8 kB / 460.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.29, allocations: 0.7296 MB / 461.1 MB, free: 9.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.29, allocations: 0 / 461.1 MB, free: 9.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000936/0.2909, allocations: 0.5661 MB / 461.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.291, allocations: 40.23 kB / 461.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.642e-05/0.291, allocations: 19.98 kB / 461.8 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.2912, allocations: 65.69 kB / 461.8 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.2915, allocations: 43.91 kB / 461.9 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/0.2945, allocations: 3.332 MB / 465.2 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.2948, allocations: 20.09 kB / 465.2 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/0.2948, allocations: 23.98 kB / 465.2 MB, free: 5.258 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.0004129/0.2952, allocations: 251.9 kB / 465.5 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.2954, allocations: 131.1 kB / 465.6 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.2967, allocations: 0.6686 MB / 466.3 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2967, allocations: 0 / 466.3 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2967, allocations: 4 kB / 466.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2967, allocations: 3.984 kB / 466.3 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/0.2974, allocations: 0.6082 MB / 466.9 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.583e-05/0.2974, allocations: 16 kB / 466.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.2976, allocations: 43.84 kB / 467 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001838/0.2978, allocations: 69.67 kB / 467 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.2978, allocations: 12 kB / 467 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002795/0.3006, allocations: 3.328 MB / 470.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3006, allocations: 0 / 470.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.302, allocations: 0.8555 MB / 471.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/0.3024, allocations: 284.2 kB / 471.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.461e-05/0.3025, allocations: 4 kB / 471.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.3028, allocations: 20 kB / 471.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.813e-05/0.3029, allocations: 35.89 kB / 471.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/0.3029, allocations: 16 kB / 471.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008126/0.3038, allocations: 0.6295 MB / 472.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3038, allocations: 0 / 472.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008464/0.3046, allocations: 231.5 kB / 472.4 MB, free: 13.65 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.0005677/0.3052, allocations: 314.6 kB / 472.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.3064, allocations: 0.7456 MB / 473.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3064, allocations: 4.062 kB / 473.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007538/0.3071, allocations: 0.5814 MB / 474.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.3077, allocations: 112.9 kB / 474.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.3103, allocations: 1.645 MB / 475.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.311, allocations: 1.004 MB / 476.8 MB, free: 9.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3111, allocations: 51.42 kB / 476.9 MB, free: 8.996 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3111, allocations: 0 / 476.9 MB, free: 8.996 MB / 382.1 MB Notification: Performance of Templates: time 0.02367/0.3347, allocations: 17.48 MB / 494.3 MB, free: 7.52 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.82092367997393]