Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 109.6 kB / 21.93 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 214 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 59.86 kB / 348.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2734, allocations: 49.15 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005423/0.2788, allocations: 4.568 MB / 402.2 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007866/0.2867, allocations: 5.774 MB / 407.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.2878, allocations: 64.38 kB / 408 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.2893, allocations: 464.5 kB / 408.4 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002893/0.2922, allocations: 0.8197 MB / 409.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.2937, allocations: 442.8 kB / 409.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003509/0.2972, allocations: 1.983 MB / 411.7 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.2975, allocations: 98.75 kB / 411.8 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007854/0.2983, allocations: 378.4 kB / 412.1 MB, free: 448 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004128/0.2987, allocations: 322.8 kB / 412.5 MB, free: 284 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.758e-05/0.2988, allocations: 33.91 kB / 412.5 MB, free: 280 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.3, allocations: 449.7 kB / 412.9 MB, free: 128 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.916e-05/0.3001, allocations: 110.6 kB / 413 MB, free: 36 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.3005, allocations: 321.9 kB / 413.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.3025, allocations: 1.297 MB / 414.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3025, allocations: 0 / 414.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3025, allocations: 0 / 414.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.3025, allocations: 0 / 414.7 MB, free: 14.98 MB / 334.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.002454/0.305, allocations: 1.414 MB / 416.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.305, allocations: 13.58 kB / 416.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.3052, allocations: 139.4 kB / 416.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.3065, allocations: 0.7689 MB / 417 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.3066, allocations: 21.62 kB / 417 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/0.3066, allocations: 31.61 kB / 417 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.3072, allocations: 364.6 kB / 417.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3073, allocations: 0 / 417.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.3073, allocations: 14.2 kB / 417.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3073, allocations: 5.656 kB / 417.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004679/0.3078, allocations: 262.8 kB / 417.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.3097, allocations: 0.9587 MB / 418.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.3101, allocations: 252.7 kB / 418.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.3106, allocations: 294.8 kB / 419.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007625/0.3114, allocations: 158.8 kB / 419.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.3114, allocations: 35.81 kB / 419.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 2.344e-06/0.3114, allocations: 1.5 kB / 419.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.003323/0.3147, allocations: 1.493 MB / 420.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/0.3148, allocations: 110 kB / 421 MB, free: 10.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.3161, allocations: 0.9346 MB / 421.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.3161, allocations: 32.08 kB / 421.9 MB, free: 9.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/0.3165, allocations: 357.6 kB / 422.3 MB, free: 9.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.3166, allocations: 141.1 kB / 422.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.3168, allocations: 114.5 kB / 422.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.317, allocations: 326.1 kB / 422.8 MB, free: 9.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.3173, allocations: 162.2 kB / 423 MB, free: 9.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.3176, allocations: 221 kB / 423.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.3191, allocations: 0.7594 MB / 424 MB, free: 8.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3191, allocations: 0 / 424 MB, free: 8.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001092/0.3202, allocations: 0.5909 MB / 424.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/0.3202, allocations: 37.7 kB / 424.6 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.854e-05/0.3203, allocations: 23.92 kB / 424.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002609/0.3205, allocations: 69.72 kB / 424.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.3208, allocations: 47.91 kB / 424.7 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.3236, allocations: 3.063 MB / 427.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.3241, allocations: 16.02 kB / 427.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/0.3242, allocations: 20 kB / 427.8 MB, free: 4.32 MB / 334.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.0005009/0.3247, allocations: 247.9 kB / 428.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.3249, allocations: 139.2 kB / 428.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.3263, allocations: 0.7054 MB / 428.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.3263, allocations: 4 kB / 428.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3263, allocations: 0 / 428.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3263, allocations: 3.984 kB / 428.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008117/0.3271, allocations: 0.5007 MB / 429.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/0.3271, allocations: 12 kB / 429.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.3273, allocations: 39.91 kB / 429.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.3275, allocations: 69.67 kB / 429.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.3276, allocations: 16 kB / 429.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002718/0.3303, allocations: 3.071 MB / 432.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3303, allocations: 0 / 432.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.3318, allocations: 0.9409 MB / 433.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005531/0.3324, allocations: 217.1 kB / 433.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3325, allocations: 8 kB / 433.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.3327, allocations: 11.98 kB / 433.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.3328, allocations: 31.95 kB / 433.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.3329, allocations: 19.94 kB / 433.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008221/0.3337, allocations: 0.6256 MB / 434.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3337, allocations: 0 / 434.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008792/0.3346, allocations: 223.6 kB / 434.7 MB, free: 13.13 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.0006026/0.3352, allocations: 310.7 kB / 435 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00132/0.3365, allocations: 0.8121 MB / 435.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3365, allocations: 0 / 435.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00077/0.3373, allocations: 0.6261 MB / 436.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006425/0.3379, allocations: 110 kB / 436.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.3406, allocations: 1.693 MB / 438.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.341, allocations: 409 kB / 438.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.3412, allocations: 51.42 kB / 438.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3412, allocations: 4 kB / 438.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of Templates: time 0.02609/0.3672, allocations: 17.78 MB / 456.5 MB, free: 7.086 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.433798010926694]