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.001579/0.001579, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001756/0.001756, allocations: 213.7 kB / 24.5 MB, free: 4.148 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.456/1.456, allocations: 230.5 MB / 258.1 MB, free: 7.992 MB / 206.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.002035/0.002035, allocations: 63.91 kB / 379.1 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3079, allocations: 53.4 MB / 432.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01356/0.3215, allocations: 10.86 MB / 443.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007887/0.3294, allocations: 3.271 MB / 446.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.3318, allocations: 123.1 kB / 446.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.3346, allocations: 0.7449 MB / 447.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004489/0.3391, allocations: 1.216 MB / 448.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.3408, allocations: 491.3 kB / 449.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007925/0.3487, allocations: 5.202 MB / 454.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005215/0.3539, allocations: 2.507 MB / 456.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005365/0.3593, allocations: 2.471 MB / 459.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005008/0.3643, allocations: 2.857 MB / 462.2 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001685/0.366, allocations: 0.625 MB / 462.8 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.3683, allocations: 0.7186 MB / 463.5 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002649/0.371, allocations: 1.667 MB / 465.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005356/0.3763, allocations: 2.781 MB / 468 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.3878, allocations: 8.491 MB / 476.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3878, allocations: 0 / 476.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3878, allocations: 0 / 476.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002212/0.3881, allocations: 0 / 476.5 MB, free: 10.52 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.0123/0.4004, allocations: 5.183 MB / 481.7 MB, free: 5.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4004, allocations: 12.03 kB / 481.7 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.4022, allocations: 0.5993 MB / 482.3 MB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006068/0.4083, allocations: 2.846 MB / 485.1 MB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.4085, allocations: 300 kB / 485.4 MB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007598/0.4093, allocations: 387.9 kB / 485.8 MB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/0.4202, allocations: 5.853 MB / 491.7 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-05/0.4203, allocations: 7.938 kB / 491.7 MB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003751/0.4206, allocations: 160 kB / 491.8 MB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000237/0.4209, allocations: 232.1 kB / 492 MB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009311/0.4302, allocations: 5.056 MB / 497.1 MB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03163/0.4618, allocations: 16.81 MB / 0.5019 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006165/0.468, allocations: 3.901 MB / 0.5057 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003884/0.4719, allocations: 2.446 MB / 0.5081 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/0.4721, allocations: 69.95 kB / 0.5081 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.36e-05/0.4722, allocations: 60.5 kB / 0.5082 GB, free: 14.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.208e-06/0.4722, allocations: 0 / 0.5082 GB, free: 14.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.02048/0.4927, allocations: 10.05 MB / 0.518 GB, free: 3.918 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.4928, allocations: 77.42 kB / 0.5181 GB, free: 3.828 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004312/0.4971, allocations: 2.64 MB / 0.5207 GB, free: 1.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003499/0.4974, allocations: 69.7 kB / 0.5207 GB, free: 1.094 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.4989, allocations: 1.695 MB / 0.5224 GB, free: 15.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009698/0.4999, allocations: 0.8869 MB / 0.5232 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007256/0.5006, allocations: 412.7 kB / 0.5236 GB, free: 14.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5008, allocations: 305.1 kB / 0.5239 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/0.5029, allocations: 1.336 MB / 0.5252 GB, free: 12.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.5053, allocations: 1.654 MB / 0.5268 GB, free: 10.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004598/0.5099, allocations: 3.076 MB / 0.5298 GB, free: 7.484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.5099, allocations: 4 kB / 0.5298 GB, free: 7.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007864/0.5178, allocations: 4.431 MB / 0.5342 GB, free: 2.973 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.5178, allocations: 8 kB / 0.5342 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.5178, allocations: 11.98 kB / 0.5342 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005288/0.5231, allocations: 1.651 MB / 0.5358 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.5246, allocations: 395.4 kB / 0.5362 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2401/0.7647, allocations: 24.7 MB / 0.5603 GB, free: 80.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.7671, allocations: 94.09 kB / 0.5604 GB, free: 80.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003351/0.7674, allocations: 73.66 kB / 0.5605 GB, free: 80.83 MB / 446.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.0025/0.7699, allocations: 1.424 MB / 0.5619 GB, free: 80.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006141/0.7705, allocations: 318.5 kB / 0.5622 GB, free: 80.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006151/0.7767, allocations: 4.342 MB / 0.5664 GB, free: 78.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.7767, allocations: 27.62 kB / 0.5664 GB, free: 78.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.7767, allocations: 7.406 kB / 0.5664 GB, free: 78.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.7767, allocations: 11.95 kB / 0.5664 GB, free: 78.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.7887, allocations: 8.76 MB / 0.575 GB, free: 70.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.7887, allocations: 0 / 0.575 GB, free: 70.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.7898, allocations: 291.7 kB / 0.5753 GB, free: 69.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004483/0.7943, allocations: 1.614 MB / 0.5769 GB, free: 68.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/0.7944, allocations: 59.98 kB / 0.5769 GB, free: 68.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01813/0.8126, allocations: 24.46 MB / 0.6008 GB, free: 42.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.8126, allocations: 0 / 0.6008 GB, free: 42.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007649/0.8202, allocations: 6.067 MB / 0.6067 GB, free: 36.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/0.8217, allocations: 0.6248 MB / 0.6073 GB, free: 35.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003649/0.822, allocations: 63.92 kB / 0.6074 GB, free: 35.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.8233, allocations: 119.9 kB / 0.6075 GB, free: 35.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004358/0.8237, allocations: 225.6 kB / 0.6077 GB, free: 35.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.8238, allocations: 71.98 kB / 0.6078 GB, free: 35.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002108/0.8259, allocations: 1.852 MB / 0.6096 GB, free: 33.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8259, allocations: 0 / 0.6096 GB, free: 33.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003117/0.829, allocations: 0.9603 MB / 0.6105 GB, free: 32.63 MB / 446.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.0005911/0.8296, allocations: 255.5 kB / 0.6108 GB, free: 32.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005731/0.8354, allocations: 4.767 MB / 0.6154 GB, free: 27.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.8354, allocations: 0 / 0.6154 GB, free: 27.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003735/0.8391, allocations: 3.262 MB / 0.6186 GB, free: 24.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/0.8428, allocations: 0.9516 MB / 0.6196 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.8551, allocations: 8.664 MB / 0.628 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002102/0.8572, allocations: 3.121 MB / 0.6311 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/0.8579, allocations: 175.4 kB / 0.6312 GB, free: 11.16 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.8579, allocations: 0 / 0.6312 GB, free: 11.16 MB / 446.1 MB Notification: Performance of Templates: time 0.4448/1.303, allocations: 263.5 MB / 0.8886 GB, free: 37.3 MB / 0.5294 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/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: 20.31087262602523]