Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 116.5 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 190.7 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 47.92 kB / 366.8 MB, free: 348 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09695/0.09847, allocations: 52.14 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009009/0.1075, allocations: 6.907 MB / 425.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004732/0.1122, allocations: 2.278 MB / 428.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008653/0.1131, allocations: 47.81 kB / 428.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.1143, allocations: 465 kB / 428.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.1161, allocations: 0.6836 MB / 429.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.1167, allocations: 271.7 kB / 429.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003312/0.12, allocations: 2.836 MB / 432.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.1224, allocations: 1.859 MB / 434.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.1249, allocations: 1.318 MB / 435.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002796/0.1277, allocations: 1.572 MB / 437.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006369/0.1283, allocations: 348 kB / 437.5 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009675/0.1293, allocations: 435.8 kB / 437.9 MB, free: 9.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009017/0.1302, allocations: 0.9037 MB / 438.8 MB, free: 8.098 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002043/0.1323, allocations: 1.525 MB / 440.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005737/0.138, allocations: 4.629 MB / 445 MB, free: 1.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.138, allocations: 0 / 445 MB, free: 1.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.138, allocations: 3.938 kB / 445 MB, free: 1.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000116/0.1381, allocations: 0 / 445 MB, free: 1.918 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.1866/0.3247, allocations: 3.032 MB / 448 MB, free: 28.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.3248, allocations: 9.688 kB / 448 MB, free: 28.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007045/0.3255, allocations: 324.3 kB / 448.4 MB, free: 27.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.3277, allocations: 1.648 MB / 450 MB, free: 27.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.287e-05/0.3278, allocations: 165.4 kB / 450.2 MB, free: 27.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002673/0.328, allocations: 214 kB / 450.4 MB, free: 27.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004634/0.3327, allocations: 3.179 MB / 453.6 MB, free: 26.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.3327, allocations: 4.875 kB / 453.6 MB, free: 26.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.3329, allocations: 90.25 kB / 453.7 MB, free: 26.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.333, allocations: 109.4 kB / 453.8 MB, free: 26.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004451/0.3375, allocations: 2.736 MB / 456.5 MB, free: 25.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.3503, allocations: 8.79 MB / 465.3 MB, free: 21.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/0.3529, allocations: 3.286 MB / 468.6 MB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.3546, allocations: 1.232 MB / 469.8 MB, free: 18.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/0.3548, allocations: 126.2 kB / 469.9 MB, free: 18.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3548, allocations: 45.03 kB / 470 MB, free: 18.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.116e-06/0.3548, allocations: 0 / 470 MB, free: 18.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.009743/0.3646, allocations: 5.772 MB / 475.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.3646, allocations: 64.91 kB / 475.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.3664, allocations: 1.484 MB / 477.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/0.3665, allocations: 50.55 kB / 477.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.367, allocations: 0.9641 MB / 478.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.3672, allocations: 469.3 kB / 478.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003235/0.3675, allocations: 218.4 kB / 479 MB, free: 12.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.3676, allocations: 356.5 kB / 479.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008481/0.3685, allocations: 0.6954 MB / 480 MB, free: 11.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008829/0.3694, allocations: 0.8679 MB / 480.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.3712, allocations: 1.598 MB / 482.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3712, allocations: 1.344 kB / 482.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003099/0.3743, allocations: 2.291 MB / 484.8 MB, free: 8.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3743, allocations: 8 kB / 484.8 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.3743, allocations: 10.94 kB / 484.8 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002399/0.3767, allocations: 0.8217 MB / 485.6 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007389/0.3774, allocations: 203.7 kB / 485.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.3882, allocations: 11.49 MB / 497.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3893, allocations: 51.92 kB / 497.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-05/0.3894, allocations: 44 kB / 497.4 MB, free: 11.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001428/0.3908, allocations: 0.8221 MB / 498.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/0.3912, allocations: 171 kB / 498.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004157/0.3953, allocations: 2.249 MB / 0.4889 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.3953, allocations: 19.94 kB / 0.4889 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.3953, allocations: 4 kB / 0.4889 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.3954, allocations: 4.859 kB / 0.4889 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008189/0.4035, allocations: 4.698 MB / 0.4935 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.4036, allocations: 0 / 0.4935 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007029/0.4043, allocations: 163.8 kB / 0.4937 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/0.407, allocations: 0.8112 MB / 0.4945 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.651e-05/0.4071, allocations: 24 kB / 0.4945 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.4202, allocations: 11.4 MB / 0.5056 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.4202, allocations: 5.719 kB / 0.5056 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005424/0.4256, allocations: 3.217 MB / 0.5088 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009674/0.4266, allocations: 416 kB / 0.5092 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.4268, allocations: 24 kB / 0.5092 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008275/0.4276, allocations: 75.94 kB / 0.5093 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/0.4279, allocations: 113.1 kB / 0.5094 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/0.428, allocations: 32 kB / 0.5094 GB, free: 2.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001614/0.4296, allocations: 1.056 MB / 0.5104 GB, free: 1.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4296, allocations: 480 / 0.5104 GB, free: 1.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001928/0.4315, allocations: 0.5155 MB / 0.5109 GB, free: 0.5703 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005328/0.4321, allocations: 218.8 kB / 0.5111 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004008/0.4361, allocations: 2.338 MB / 0.5134 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.4361, allocations: 4 kB / 0.5134 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002589/0.4387, allocations: 1.586 MB / 0.515 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.441, allocations: 0.514 MB / 0.5155 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008166/0.4492, allocations: 4.678 MB / 0.5201 GB, free: 7.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001832/0.451, allocations: 1.987 MB / 0.522 GB, free: 5.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.4514, allocations: 103.4 kB / 0.5221 GB, free: 4.996 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4514, allocations: 0 / 0.5221 GB, free: 4.996 MB / 414.1 MB Notification: Performance of Templates: time 0.09047/0.5419, allocations: 75.71 MB / 0.596 GB, free: 9.316 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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: 13.196483220905066]