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.001751/0.001751, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002038/0.002038, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.631/1.631, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.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.002569/0.002569, allocations: 47.91 kB / 371.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2707, allocations: 52.18 MB / 423.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008839/0.2796, allocations: 6.133 MB / 430 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004815/0.2844, allocations: 2.158 MB / 432.1 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.2855, allocations: 63.56 kB / 432.2 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.2869, allocations: 468.9 kB / 432.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.289, allocations: 0.6953 MB / 433.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.2895, allocations: 271.7 kB / 433.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003376/0.2929, allocations: 2.828 MB / 436.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.2949, allocations: 1.328 MB / 437.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.2976, allocations: 1.347 MB / 439.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.3, allocations: 1.541 MB / 440.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005313/0.3005, allocations: 348 kB / 441 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008526/0.3014, allocations: 435.8 kB / 441.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008513/0.3022, allocations: 0.8999 MB / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001515/0.3038, allocations: 1.249 MB / 443.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004851/0.3086, allocations: 4.648 MB / 448.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3086, allocations: 0 / 448.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3086, allocations: 3.938 kB / 448.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.445e-05/0.3087, allocations: 0 / 448.2 MB, free: 6.117 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005905/0.3146, allocations: 2.963 MB / 451.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3146, allocations: 11.97 kB / 451.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007775/0.3154, allocations: 327.1 kB / 451.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.3188, allocations: 1.599 MB / 453.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.3189, allocations: 168.3 kB / 453.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003501/0.3193, allocations: 216 kB / 453.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005608/0.3249, allocations: 3.358 MB / 456.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/0.3249, allocations: 3.984 kB / 456.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.3252, allocations: 92 kB / 456.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.3253, allocations: 112.4 kB / 457 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00475/0.33, allocations: 2.727 MB / 459.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01441/0.3445, allocations: 7.609 MB / 467.4 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/0.3475, allocations: 1.924 MB / 469.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.3495, allocations: 1.227 MB / 470.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.3497, allocations: 45.28 kB / 470.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.001e-05/0.3498, allocations: 51.81 kB / 470.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.998e-06/0.3498, allocations: 4 kB / 470.6 MB, free: 15.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01111/0.3609, allocations: 5.29 MB / 475.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3609, allocations: 68.72 kB / 476 MB, free: 9.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.3629, allocations: 1.274 MB / 477.3 MB, free: 8.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.363, allocations: 45.7 kB / 477.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007803/0.3638, allocations: 0.9733 MB / 478.3 MB, free: 7.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/0.3642, allocations: 468 kB / 478.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003738/0.3646, allocations: 222.9 kB / 478.9 MB, free: 6.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3648, allocations: 357.9 kB / 479.3 MB, free: 6.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.3659, allocations: 0.6973 MB / 480 MB, free: 5.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.3672, allocations: 0.8551 MB / 480.9 MB, free: 4.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.3697, allocations: 1.601 MB / 482.5 MB, free: 3.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3697, allocations: 0 / 482.5 MB, free: 3.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004113/0.3738, allocations: 2.275 MB / 484.7 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.3738, allocations: 12.03 kB / 484.7 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.3738, allocations: 4 kB / 484.7 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/0.3765, allocations: 0.8227 MB / 485.6 MB, free: 144 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000881/0.3774, allocations: 211.7 kB / 485.8 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/0.3909, allocations: 10.87 MB / 496.6 MB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.3919, allocations: 64.08 kB / 496.7 MB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.392, allocations: 44 kB / 496.7 MB, free: 4.559 MB / 398.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.001371/0.3934, allocations: 0.8089 MB / 497.6 MB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/0.3937, allocations: 147.1 kB / 497.7 MB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00415/0.3979, allocations: 2.24 MB / 499.9 MB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.3979, allocations: 15.94 kB / 500 MB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3979, allocations: 7.938 kB / 500 MB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.3979, allocations: 7.969 kB / 500 MB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008216/0.4061, allocations: 4.149 MB / 0.4923 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.4061, allocations: 3.984 kB / 0.4923 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/0.4068, allocations: 167.8 kB / 0.4925 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002685/0.4095, allocations: 0.8032 MB / 0.4932 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.972e-05/0.4096, allocations: 27.98 kB / 0.4933 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/0.4228, allocations: 10.77 MB / 0.5038 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.4228, allocations: 7.969 kB / 0.5038 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005426/0.4283, allocations: 3.196 MB / 0.5069 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009816/0.4292, allocations: 315 kB / 0.5072 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.4294, allocations: 32.11 kB / 0.5072 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007525/0.4302, allocations: 67.94 kB / 0.5073 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/0.4305, allocations: 125 kB / 0.5074 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.715e-05/0.4306, allocations: 44 kB / 0.5075 GB, free: 13.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001394/0.432, allocations: 0.8913 MB / 0.5083 GB, free: 12.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.432, allocations: 0 / 0.5083 GB, free: 12.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001737/0.4337, allocations: 0.5078 MB / 0.5088 GB, free: 11.68 MB / 430.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.0005204/0.4342, allocations: 216.5 kB / 0.509 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003889/0.4381, allocations: 2.346 MB / 0.5113 GB, free: 9.066 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4381, allocations: 4.062 kB / 0.5113 GB, free: 9.062 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002517/0.4406, allocations: 1.581 MB / 0.5129 GB, free: 7.434 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.4425, allocations: 396 kB / 0.5133 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008174/0.4507, allocations: 4.666 MB / 0.5178 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/0.4523, allocations: 1.418 MB / 0.5192 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/0.4528, allocations: 95.42 kB / 0.5193 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4528, allocations: 0 / 0.5193 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of Templates: time 0.2413/0.6941, allocations: 74.6 MB / 0.5922 GB, free: 57.58 MB / 446.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 12.695771977771074]