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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 105.8 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 190.8 kB / 23.47 MB, free: 5.293 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 207.6 MB / 234 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 58.09 kB / 345.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2354, allocations: 49.12 MB / 394.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.004866/0.2403, allocations: 5.234 MB / 400.2 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00707/0.2473, allocations: 6.595 MB / 406.7 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009367/0.2483, allocations: 41.19 kB / 406.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.2497, allocations: 0.4996 MB / 407.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.2523, allocations: 0.8146 MB / 408.1 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.2538, allocations: 432.4 kB / 408.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003492/0.2572, allocations: 1.989 MB / 410.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.2575, allocations: 102.3 kB / 410.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006258/0.2581, allocations: 365.8 kB / 411 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.2586, allocations: 336.8 kB / 411.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.957e-05/0.2586, allocations: 29.94 kB / 411.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.26, allocations: 474.8 kB / 411.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.2601, allocations: 107.1 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004891/0.2606, allocations: 451.2 kB / 412.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.2627, allocations: 1.278 MB / 413.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2627, allocations: 4 kB / 413.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2627, allocations: 0 / 413.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.2628, allocations: 0 / 413.6 MB, free: 13.41 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.002281/0.265, allocations: 1.492 MB / 415.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2651, allocations: 10.03 kB / 415.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.2653, allocations: 136.6 kB / 415.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.2665, allocations: 0.8555 MB / 416.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2665, allocations: 17.44 kB / 416.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.2666, allocations: 23.92 kB / 416.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005889/0.2672, allocations: 310.2 kB / 416.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2672, allocations: 0 / 416.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.2672, allocations: 14.78 kB / 416.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.2673, allocations: 6.281 kB / 416.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.2677, allocations: 224.3 kB / 416.7 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.2696, allocations: 1.125 MB / 417.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.2701, allocations: 218.8 kB / 418 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/0.2706, allocations: 262.3 kB / 418.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.2717, allocations: 0.7505 MB / 419 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.2717, allocations: 36.84 kB / 419.1 MB, free: 9.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 2.315e-06/0.2717, allocations: 0 / 419.1 MB, free: 9.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.003206/0.2749, allocations: 1.561 MB / 420.6 MB, free: 8.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.601e-05/0.275, allocations: 116.5 kB / 420.7 MB, free: 7.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.2762, allocations: 0.9305 MB / 421.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.2762, allocations: 31.08 kB / 421.7 MB, free: 7.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.2765, allocations: 357.6 kB / 422.1 MB, free: 7.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.2767, allocations: 137.9 kB / 422.2 MB, free: 6.902 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.2769, allocations: 117.9 kB / 422.3 MB, free: 6.828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.277, allocations: 330.8 kB / 422.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.2773, allocations: 123.5 kB / 422.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.2776, allocations: 160 kB / 422.9 MB, free: 6.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.2791, allocations: 0.7434 MB / 423.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2791, allocations: 0 / 423.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001068/0.2802, allocations: 0.5576 MB / 424.2 MB, free: 5.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/0.2802, allocations: 45.34 kB / 424.3 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/0.2803, allocations: 11.38 kB / 424.3 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/0.2805, allocations: 73.75 kB / 424.3 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.2807, allocations: 45.56 kB / 424.4 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.2837, allocations: 3.33 MB / 427.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.2842, allocations: 14.8 kB / 427.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.066e-05/0.2843, allocations: 23.59 kB / 427.7 MB, free: 2.109 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.000485/0.2848, allocations: 266.5 kB / 428 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.285, allocations: 128.8 kB / 428.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.2864, allocations: 0.6558 MB / 428.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.2864, allocations: 4 kB / 428.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2864, allocations: 4 kB / 428.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2864, allocations: 0 / 428.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009291/0.2873, allocations: 0.6121 MB / 429.4 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/0.2873, allocations: 15.98 kB / 429.4 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.2875, allocations: 39.92 kB / 429.5 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/0.2877, allocations: 73.67 kB / 429.5 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/0.2878, allocations: 15.98 kB / 429.6 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002915/0.2907, allocations: 3.335 MB / 432.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2907, allocations: 0 / 432.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.2922, allocations: 0.8557 MB / 433.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005125/0.2927, allocations: 280.1 kB / 434 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.2928, allocations: 11.94 kB / 434 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.2931, allocations: 20.05 kB / 434 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.2932, allocations: 27.97 kB / 434.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.2933, allocations: 19.98 kB / 434.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008476/0.2941, allocations: 0.6256 MB / 434.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2941, allocations: 0 / 434.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009925/0.2951, allocations: 219.6 kB / 434.9 MB, free: 10.63 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.0006471/0.2957, allocations: 310.6 kB / 435.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.297, allocations: 0.7414 MB / 436 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.297, allocations: 4.062 kB / 436 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007255/0.2977, allocations: 0.5824 MB / 436.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.2984, allocations: 116.6 kB / 436.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.3011, allocations: 1.649 MB / 438.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/0.3018, allocations: 1.004 MB / 439.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3019, allocations: 55.36 kB / 439.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3019, allocations: 0 / 439.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of Templates: time 0.02321/0.3251, allocations: 17.41 MB / 456.8 MB, free: 4.52 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