Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001776/0.001776, allocations: 81.34 kB / 20.49 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002024/0.002024, allocations: 169 kB / 23.75 MB, free: 4.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 177.1 MB / 204 MB, free: 9.246 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 64.92 kB / 324.8 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1057, allocations: 53.38 MB / 378.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01213/0.1178, allocations: 9.452 MB / 387.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008036/0.1258, allocations: 3.146 MB / 390.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.1281, allocations: 111.2 kB / 390.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.1304, allocations: 0.7449 MB / 391.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004716/0.1351, allocations: 1.208 MB / 392.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.1368, allocations: 483.5 kB / 393.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00704/0.1438, allocations: 5.202 MB / 398.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004207/0.1481, allocations: 2.425 MB / 400.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007244/0.1553, allocations: 3.708 MB / 404.6 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005165/0.1605, allocations: 2.806 MB / 407.5 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001524/0.162, allocations: 0.6211 MB / 408.1 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.1638, allocations: 0.7069 MB / 408.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.1655, allocations: 1.667 MB / 410.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00368/0.1692, allocations: 2.264 MB / 412.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.1792, allocations: 8.53 MB / 421.2 MB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1792, allocations: 0 / 421.2 MB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1792, allocations: 0 / 421.2 MB, free: 4.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002389/0.1794, allocations: 0 / 421.2 MB, free: 4.473 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.0133/0.1927, allocations: 5.183 MB / 426.4 MB, free: 15.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1928, allocations: 11.98 kB / 426.4 MB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.1948, allocations: 0.607 MB / 427 MB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006766/0.2016, allocations: 2.838 MB / 429.9 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.2019, allocations: 300 kB / 430.2 MB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.2031, allocations: 387.9 kB / 430.6 MB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.216, allocations: 6.195 MB / 436.8 MB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.426e-05/0.2161, allocations: 7.938 kB / 436.8 MB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004137/0.2165, allocations: 164 kB / 436.9 MB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002587/0.2168, allocations: 224.1 kB / 437.1 MB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.227, allocations: 5.048 MB / 442.2 MB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03099/0.258, allocations: 14.21 MB / 456.4 MB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006909/0.2649, allocations: 3.89 MB / 460.3 MB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004381/0.2693, allocations: 2.447 MB / 462.7 MB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000407/0.2697, allocations: 57.97 kB / 462.8 MB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.288e-05/0.2698, allocations: 64.5 kB / 462.9 MB, free: 10.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 9.958e-06/0.2698, allocations: 0 / 462.9 MB, free: 10.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.02438/0.2941, allocations: 10.01 MB / 472.9 MB, free: 296 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.2942, allocations: 81.36 kB / 472.9 MB, free: 200 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2452/0.5394, allocations: 2.202 MB / 475.1 MB, free: 82.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007435/0.5401, allocations: 73.42 kB / 475.2 MB, free: 82.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.5417, allocations: 1.717 MB / 476.9 MB, free: 81.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/0.5428, allocations: 0.8846 MB / 477.8 MB, free: 80.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008071/0.5436, allocations: 411.9 kB / 478.2 MB, free: 80.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.653e-05/0.5437, allocations: 303.3 kB / 478.5 MB, free: 80.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/0.5461, allocations: 1.339 MB / 479.9 MB, free: 79.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002921/0.549, allocations: 1.654 MB / 481.5 MB, free: 79.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004974/0.554, allocations: 3.078 MB / 484.6 MB, free: 77.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.554, allocations: 2.688 kB / 484.6 MB, free: 77.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008726/0.5627, allocations: 4.398 MB / 489 MB, free: 75.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.5627, allocations: 9.188 kB / 489 MB, free: 75.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/0.5628, allocations: 7.031 kB / 489 MB, free: 75.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005178/0.5679, allocations: 1.649 MB / 490.7 MB, free: 75.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.5697, allocations: 389.7 kB / 491 MB, free: 75.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/0.5896, allocations: 24.26 MB / 0.5032 GB, free: 52.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.5917, allocations: 93.89 kB / 0.5033 GB, free: 52.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.5919, allocations: 80 kB / 0.5034 GB, free: 52.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002451/0.5944, allocations: 1.417 MB / 0.5048 GB, free: 51.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006311/0.595, allocations: 274.3 kB / 0.505 GB, free: 51.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006573/0.6016, allocations: 4.314 MB / 0.5092 GB, free: 46.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.6016, allocations: 28 kB / 0.5093 GB, free: 46.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/0.6016, allocations: 13.02 kB / 0.5093 GB, free: 46.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.6016, allocations: 11.95 kB / 0.5093 GB, free: 46.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.6138, allocations: 7.787 MB / 0.5169 GB, free: 38.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.6138, allocations: 0 / 0.5169 GB, free: 38.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.6149, allocations: 287.6 kB / 0.5172 GB, free: 38.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004787/0.6197, allocations: 1.611 MB / 0.5187 GB, free: 36.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001931/0.6199, allocations: 59.97 kB / 0.5188 GB, free: 36.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01964/0.6395, allocations: 24.01 MB / 0.5422 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.6395, allocations: 10.05 kB / 0.5423 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008375/0.6479, allocations: 6.028 MB / 0.5481 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/0.6498, allocations: 0.5859 MB / 0.5487 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000371/0.6502, allocations: 56.05 kB / 0.5488 GB, free: 5.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.6514, allocations: 119.9 kB / 0.5489 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004989/0.6519, allocations: 225.5 kB / 0.5491 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/0.652, allocations: 60 kB / 0.5492 GB, free: 4.648 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001946/0.6539, allocations: 1.535 MB / 0.5507 GB, free: 3.094 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6539, allocations: 384 / 0.5507 GB, free: 3.094 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003409/0.6574, allocations: 0.9631 MB / 0.5516 GB, free: 2.133 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006637/0.658, allocations: 246 kB / 0.5518 GB, free: 1.895 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007511/0.6655, allocations: 4.766 MB / 0.5565 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.6655, allocations: 0 / 0.5565 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005627/0.6712, allocations: 3.279 MB / 0.5597 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/0.6748, allocations: 0.7328 MB / 0.5604 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/0.6915, allocations: 8.626 MB / 0.5688 GB, free: 248 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004136/0.6956, allocations: 2.661 MB / 0.5714 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002375/0.698, allocations: 0.5173 MB / 0.5719 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008849/0.6989, allocations: 156.5 kB / 0.5721 GB, free: 12.88 MB / 462.1 MB Notification: Performance of SimCode: time 3.046e-06/0.6989, allocations: 0 / 0.5721 GB, free: 12.88 MB / 462.1 MB Notification: Performance of Templates: time 0.1025/0.8013, allocations: 52.32 MB / 0.6232 GB, free: 9.09 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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: 7.398202756419778]