Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001482/0.001482, allocations: 117.9 kB / 21.18 MB, free: 0.625 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.001648/0.001648, allocations: 202.7 kB / 24.46 MB, free: 4.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.426/1.426, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 71.88 kB / 378.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2422, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01295/0.2552, allocations: 10.81 MB / 442.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006986/0.2622, allocations: 3.252 MB / 446.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.2642, allocations: 83.62 kB / 446.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.2663, allocations: 0.7527 MB / 447 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003388/0.2697, allocations: 1.165 MB / 448.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2707, allocations: 483.3 kB / 448.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006223/0.2769, allocations: 5.131 MB / 453.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003477/0.2804, allocations: 2.511 MB / 456.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004635/0.285, allocations: 2.399 MB / 458.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004579/0.2896, allocations: 2.833 MB / 461.5 MB, free: 9.832 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.291, allocations: 0.625 MB / 462.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.2929, allocations: 0.703 MB / 462.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001639/0.2945, allocations: 1.644 MB / 464.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003887/0.2984, allocations: 2.777 MB / 467.2 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009533/0.3079, allocations: 8.44 MB / 475.7 MB, free: 11.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3079, allocations: 3.984 kB / 475.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3079, allocations: 0 / 475.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002199/0.3082, allocations: 0 / 475.7 MB, free: 11.59 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.0124/0.3206, allocations: 5.234 MB / 480.9 MB, free: 6.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.3206, allocations: 8.031 kB / 480.9 MB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.3224, allocations: 0.6032 MB / 481.5 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005874/0.3283, allocations: 2.886 MB / 484.4 MB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.3285, allocations: 287.8 kB / 484.7 MB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006381/0.3292, allocations: 388 kB / 485.1 MB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009956/0.3391, allocations: 5.797 MB / 490.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.666e-05/0.3392, allocations: 11.88 kB / 490.9 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003859/0.3396, allocations: 164 kB / 491 MB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002163/0.3398, allocations: 208 kB / 491.2 MB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008918/0.3487, allocations: 5.016 MB / 496.3 MB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02936/0.3781, allocations: 16.24 MB / 0.5005 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007241/0.3853, allocations: 6.599 MB / 0.5069 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003814/0.3891, allocations: 2.45 MB / 0.5093 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.3894, allocations: 143.1 kB / 0.5095 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.121e-05/0.3895, allocations: 60.5 kB / 0.5095 GB, free: 12.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.679e-06/0.3895, allocations: 4 kB / 0.5095 GB, free: 12.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.02068/0.4102, allocations: 10.72 MB / 0.52 GB, free: 1.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.4102, allocations: 77.42 kB / 0.5201 GB, free: 1.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00429/0.4145, allocations: 2.644 MB / 0.5227 GB, free: 14.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003899/0.4149, allocations: 65.7 kB / 0.5227 GB, free: 14.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.4163, allocations: 1.679 MB / 0.5244 GB, free: 12.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009354/0.4172, allocations: 0.8831 MB / 0.5252 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006671/0.4179, allocations: 412.7 kB / 0.5256 GB, free: 11.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.418, allocations: 309.1 kB / 0.5259 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/0.4202, allocations: 1.336 MB / 0.5272 GB, free: 9.965 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/0.4225, allocations: 1.658 MB / 0.5288 GB, free: 8.211 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004531/0.4271, allocations: 3.076 MB / 0.5318 GB, free: 5.012 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.4271, allocations: 4 kB / 0.5318 GB, free: 5.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00795/0.435, allocations: 4.431 MB / 0.5362 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.4351, allocations: 8 kB / 0.5362 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.4351, allocations: 8 kB / 0.5362 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.23/0.6651, allocations: 1.645 MB / 0.5378 GB, free: 99.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.6667, allocations: 389.8 kB / 0.5382 GB, free: 99.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01965/0.6864, allocations: 25.75 MB / 0.5633 GB, free: 80.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.6884, allocations: 102.4 kB / 0.5634 GB, free: 79.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/0.6886, allocations: 81.03 kB / 0.5635 GB, free: 79.96 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.001883/0.6905, allocations: 1.408 MB / 0.5649 GB, free: 79.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000579/0.6911, allocations: 314.5 kB / 0.5652 GB, free: 79.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005966/0.697, allocations: 4.341 MB / 0.5694 GB, free: 76.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.6971, allocations: 28 kB / 0.5694 GB, free: 76.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.6971, allocations: 8 kB / 0.5694 GB, free: 76.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.851e-05/0.6971, allocations: 15.95 kB / 0.5694 GB, free: 76.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.7093, allocations: 8.747 MB / 0.578 GB, free: 67.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.7093, allocations: 4 kB / 0.578 GB, free: 67.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.7104, allocations: 287.7 kB / 0.5783 GB, free: 67.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004279/0.7147, allocations: 1.618 MB / 0.5798 GB, free: 65.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.7148, allocations: 59.98 kB / 0.5799 GB, free: 65.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01756/0.7324, allocations: 25.49 MB / 0.6048 GB, free: 38.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7324, allocations: 3.938 kB / 0.6048 GB, free: 38.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007255/0.7396, allocations: 6.061 MB / 0.6107 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/0.7412, allocations: 0.6904 MB / 0.6114 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004747/0.7417, allocations: 55.98 kB / 0.6114 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/0.743, allocations: 115.9 kB / 0.6116 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004183/0.7434, allocations: 221.6 kB / 0.6118 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.7436, allocations: 63.94 kB / 0.6118 GB, free: 31.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002067/0.7456, allocations: 1.856 MB / 0.6136 GB, free: 29.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7456, allocations: 0 / 0.6136 GB, free: 29.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002947/0.7486, allocations: 0.9531 MB / 0.6146 GB, free: 28.65 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.0005308/0.7491, allocations: 258.6 kB / 0.6148 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005349/0.7545, allocations: 4.764 MB / 0.6195 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.7545, allocations: 0 / 0.6195 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003587/0.7581, allocations: 3.266 MB / 0.6227 GB, free: 20.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/0.7616, allocations: 0.9506 MB / 0.6236 GB, free: 19.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.773, allocations: 8.617 MB / 0.632 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/0.775, allocations: 3.103 MB / 0.635 GB, free: 7.414 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006483/0.7756, allocations: 175.4 kB / 0.6352 GB, free: 7.242 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7756, allocations: 3.938 kB / 0.6352 GB, free: 7.238 MB / 446.1 MB Notification: Performance of Templates: time 0.421/1.197, allocations: 262.3 MB / 0.8914 GB, free: 36.19 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 19.007194799836725]