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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 113.2 kB / 17.73 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 184.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.281/1.281, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB 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.001183/0.001183, allocations: 52.36 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08058/0.08177, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.1676/0.2494, allocations: 5.195 MB / 380.3 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006667/0.2561, allocations: 6.569 MB / 386.9 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005367/0.2567, allocations: 41.62 kB / 386.9 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.2581, allocations: 0.4931 MB / 387.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.2601, allocations: 0.8206 MB / 388.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.2612, allocations: 433.2 kB / 388.7 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00269/0.2639, allocations: 1.988 MB / 390.7 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.2642, allocations: 170 kB / 390.8 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004563/0.2647, allocations: 366.9 kB / 391.2 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/0.2651, allocations: 343 kB / 391.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.591e-05/0.2651, allocations: 30.34 kB / 391.6 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.2661, allocations: 465.4 kB / 392 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.929e-05/0.2663, allocations: 112 kB / 392.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.2666, allocations: 449.5 kB / 392.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.2678, allocations: 1.268 MB / 393.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2679, allocations: 0 / 393.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2679, allocations: 1.188 kB / 393.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.2679, allocations: 0.6094 kB / 393.8 MB, free: 3.738 MB / 318.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.001638/0.2695, allocations: 1.44 MB / 395.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2696, allocations: 9.938 kB / 395.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.2697, allocations: 134.9 kB / 395.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009575/0.2707, allocations: 0.8519 MB / 396.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2707, allocations: 14.22 kB / 396.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.2708, allocations: 30.72 kB / 396.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.2713, allocations: 305.3 kB / 396.6 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2713, allocations: 0 / 396.6 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.2713, allocations: 14.75 kB / 396.6 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.2713, allocations: 5.875 kB / 396.6 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.2717, allocations: 224.1 kB / 396.8 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.2734, allocations: 1.116 MB / 398 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.2738, allocations: 240.2 kB / 398.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.2742, allocations: 301.9 kB / 398.5 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008266/0.2751, allocations: 0.7491 MB / 399.2 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.2751, allocations: 40.59 kB / 399.3 MB, free: 112 kB / 318.1 MB Notification: Performance of pre-optimization done (n=38): time 1.714e-06/0.2751, allocations: 0 / 399.3 MB, free: 112 kB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.003022/0.2782, allocations: 1.552 MB / 400.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.2782, allocations: 110.1 kB / 400.9 MB, free: 15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.2793, allocations: 0.9317 MB / 401.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.2793, allocations: 32.45 kB / 401.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.2796, allocations: 353.8 kB / 402.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.2797, allocations: 132.7 kB / 402.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.2799, allocations: 119 kB / 402.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2801, allocations: 325.1 kB / 402.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.2803, allocations: 122.6 kB / 402.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.2806, allocations: 164.4 kB / 403.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.2821, allocations: 0.7372 MB / 403.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.2821, allocations: 0 / 403.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009201/0.283, allocations: 0.5567 MB / 404.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.2831, allocations: 41.5 kB / 404.4 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.2831, allocations: 20.3 kB / 404.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/0.2833, allocations: 70.45 kB / 404.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.2836, allocations: 42.22 kB / 404.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.2861, allocations: 3.327 MB / 407.9 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.2865, allocations: 20.77 kB / 407.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/0.2865, allocations: 20.95 kB / 407.9 MB, free: 9.699 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.000393/0.2869, allocations: 266.7 kB / 408.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.2871, allocations: 121.1 kB / 408.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.2883, allocations: 0.6581 MB / 409 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.2884, allocations: 3.25 kB / 409 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2884, allocations: 2.734 kB / 409 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2884, allocations: 1.828 kB / 409 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000802/0.2892, allocations: 0.6135 MB / 409.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/0.2892, allocations: 24.52 kB / 409.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.2894, allocations: 32.23 kB / 409.6 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001913/0.2896, allocations: 71.48 kB / 409.7 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.2897, allocations: 17.42 kB / 409.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.2921, allocations: 3.332 MB / 413 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.2921, allocations: 0 / 413 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.2934, allocations: 0.8578 MB / 413.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.2938, allocations: 273 kB / 414.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.2939, allocations: 15.59 kB / 414.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.2942, allocations: 13.98 kB / 414.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.2943, allocations: 32.31 kB / 414.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.2943, allocations: 17.45 kB / 414.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007924/0.2951, allocations: 0.6281 MB / 414.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2951, allocations: 0 / 414.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00087/0.296, allocations: 219.1 kB / 415.1 MB, free: 4.113 MB / 334.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.0006589/0.2967, allocations: 305.7 kB / 415.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.2979, allocations: 0.7835 MB / 416.2 MB, free: 3.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2979, allocations: 4 kB / 416.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.2986, allocations: 0.6145 MB / 416.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.2992, allocations: 110 kB / 416.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.3015, allocations: 1.571 MB / 418.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.3021, allocations: 1.004 MB / 419.5 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002546/0.3023, allocations: 90.39 kB / 419.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.389e-05/0.3024, allocations: 53.06 kB / 419.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3024, allocations: 4 kB / 419.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of Templates: time 0.01569/0.3181, allocations: 8.673 MB / 428.3 MB, free: 8.914 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Graetz/Graetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Graetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches