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.001359/0.001359, allocations: 114.5 kB / 21.18 MB, free: 0.5859 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.001479/0.001479, allocations: 206.8 kB / 24.46 MB, free: 4.012 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.469/1.469, allocations: 230.4 MB / 258.1 MB, free: 8.168 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.002074/0.002074, allocations: 71.83 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2758, allocations: 53.31 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.007017/0.2828, allocations: 5.253 MB / 437.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00987/0.2927, allocations: 6.703 MB / 444 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008263/0.2935, allocations: 43.62 kB / 444 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.2949, allocations: 0.4968 MB / 444.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.2972, allocations: 0.8342 MB / 445.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.2984, allocations: 442.3 kB / 445.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003166/0.3016, allocations: 2.044 MB / 447.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.3018, allocations: 103 kB / 447.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005707/0.3024, allocations: 382.2 kB / 448.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.3029, allocations: 345.7 kB / 448.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.239e-05/0.3029, allocations: 28 kB / 448.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.3041, allocations: 0.4995 MB / 449.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.3042, allocations: 103.3 kB / 449.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004408/0.3047, allocations: 445 kB / 449.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.3062, allocations: 1.287 MB / 451 MB, free: 4.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3062, allocations: 0 / 451 MB, free: 4.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3062, allocations: 0 / 451 MB, free: 4.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.3062, allocations: 3.984 kB / 451 MB, free: 4.328 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.002163/0.3084, allocations: 1.49 MB / 452.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3084, allocations: 8.031 kB / 452.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.3088, allocations: 155 kB / 452.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.31, allocations: 0.8631 MB / 453.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.31, allocations: 16.44 kB / 453.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-05/0.3101, allocations: 27.89 kB / 453.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006112/0.3107, allocations: 310.6 kB / 453.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3107, allocations: 0 / 453.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.3108, allocations: 8 kB / 453.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.3108, allocations: 12 kB / 453.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004295/0.3112, allocations: 225.7 kB / 454.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.3132, allocations: 1.111 MB / 455.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.3136, allocations: 215 kB / 455.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.3141, allocations: 265.6 kB / 455.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.3153, allocations: 0.8424 MB / 456.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3154, allocations: 34.56 kB / 456.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 2.304e-06/0.3154, allocations: 0 / 456.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.003117/0.3185, allocations: 1.561 MB / 458.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/0.3186, allocations: 118.8 kB / 458.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.3197, allocations: 0.934 MB / 459.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.3198, allocations: 29.7 kB / 459.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.3201, allocations: 357.8 kB / 459.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.3202, allocations: 138.8 kB / 459.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.3204, allocations: 117.7 kB / 459.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3206, allocations: 325.9 kB / 460.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.3209, allocations: 124.6 kB / 460.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.3211, allocations: 159.8 kB / 460.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.3226, allocations: 0.7334 MB / 461.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.3226, allocations: 4 kB / 461.1 MB, free: 9.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001022/0.3236, allocations: 0.5622 MB / 461.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.3237, allocations: 41.69 kB / 461.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.123e-05/0.3237, allocations: 12 kB / 461.7 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.3239, allocations: 73.7 kB / 461.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.3242, allocations: 47.97 kB / 461.9 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.3272, allocations: 3.325 MB / 465.2 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.3275, allocations: 12 kB / 465.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.3276, allocations: 20 kB / 465.2 MB, free: 5.246 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.0005442/0.3281, allocations: 264 kB / 465.5 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.3283, allocations: 131.1 kB / 465.6 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.3303, allocations: 0.6684 MB / 466.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3303, allocations: 4 kB / 466.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3303, allocations: 0 / 466.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3303, allocations: 0 / 466.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.3315, allocations: 0.6199 MB / 466.9 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.132e-05/0.3315, allocations: 16 kB / 466.9 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.3318, allocations: 31.92 kB / 466.9 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.3321, allocations: 73.61 kB / 467 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.353e-05/0.3322, allocations: 23.98 kB / 467 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004034/0.3362, allocations: 3.32 MB / 470.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3362, allocations: 4.031 kB / 470.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.3382, allocations: 0.8516 MB / 471.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006241/0.3388, allocations: 276.2 kB / 471.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.339, allocations: 11.98 kB / 471.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.3394, allocations: 8 kB / 471.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.3395, allocations: 39.84 kB / 471.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.327e-05/0.3396, allocations: 19.98 kB / 471.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00132/0.3409, allocations: 0.6296 MB / 472.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3409, allocations: 0 / 472.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001351/0.3423, allocations: 227.5 kB / 472.4 MB, free: 13.63 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.0007622/0.343, allocations: 306.6 kB / 472.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.3446, allocations: 0.7495 MB / 473.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3446, allocations: 0 / 473.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007132/0.3453, allocations: 0.5854 MB / 474.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/0.346, allocations: 116.7 kB / 474.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.3486, allocations: 1.624 MB / 475.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007842/0.3494, allocations: 1 MB / 476.8 MB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000269/0.3497, allocations: 97.64 kB / 476.9 MB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.277e-05/0.3498, allocations: 43.44 kB / 476.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3498, allocations: 0 / 476.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of Templates: time 0.01948/0.3692, allocations: 8.926 MB / 485.9 MB, free: 36 kB / 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 -s cvode -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: 4.738523380830884]