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.0009843/0.0009843, allocations: 83.89 kB / 21.19 MB, free: 3.383 MB / 18.57 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.00127/0.00127, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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 0.8966/0.8966, allocations: 173.3 MB / 201.1 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.654e-05, allocations: 6.312 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006197/0.006223, allocations: 6.816 MB / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.009879, allocations: 2.247 MB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000895/0.01077, allocations: 63.62 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.01179, allocations: 456.8 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.01326, allocations: 0.7141 MB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.01371, allocations: 279.6 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002333/0.01604, allocations: 2.933 MB / 281.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.01757, allocations: 1.355 MB / 282.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002481/0.02005, allocations: 2.001 MB / 284.9 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.0218, allocations: 1.508 MB / 286.4 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000482/0.02228, allocations: 348 kB / 286.7 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006877/0.02297, allocations: 431.9 kB / 287.1 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006417/0.02361, allocations: 0.9505 MB / 288.1 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.02483, allocations: 1.076 MB / 289.1 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1122/0.137, allocations: 2.55 MB / 291.7 MB, free: 20.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.137, allocations: 0 / 291.7 MB, free: 20.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.137, allocations: 2.406 kB / 291.7 MB, free: 20.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000112/0.1371, allocations: 0 / 291.7 MB, free: 20.89 MB / 266.7 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.004719/0.1418, allocations: 3.154 MB / 294.9 MB, free: 19.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1419, allocations: 13.64 kB / 294.9 MB, free: 19.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008556/0.1427, allocations: 0.4888 MB / 295.4 MB, free: 19.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.1446, allocations: 1.459 MB / 296.8 MB, free: 19.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.284e-05/0.1447, allocations: 165.9 kB / 297 MB, free: 19.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.145, allocations: 219 kB / 297.2 MB, free: 19.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003058/0.148, allocations: 1.906 MB / 299.1 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.1481, allocations: 6.188 kB / 299.1 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.1482, allocations: 90.64 kB / 299.2 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.676e-05/0.1483, allocations: 108.5 kB / 299.3 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.15, allocations: 0.7988 MB / 300.1 MB, free: 18.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006363/0.1564, allocations: 6.975 MB / 307.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.1575, allocations: 1.128 MB / 308.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007286/0.1582, allocations: 0.6452 MB / 308.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.1584, allocations: 50.72 kB / 308.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1584, allocations: 54.55 kB / 308.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.394e-06/0.1584, allocations: 0 / 308.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004179/0.1626, allocations: 3.071 MB / 312 MB, free: 12.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.1626, allocations: 66.69 kB / 312.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008829/0.1635, allocations: 1.081 MB / 313.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.1635, allocations: 45.17 kB / 313.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.1638, allocations: 1.055 MB / 314.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.164, allocations: 481.3 kB / 314.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.1643, allocations: 240.5 kB / 315 MB, free: 10.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.1644, allocations: 0.5472 MB / 315.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.1647, allocations: 190.5 kB / 315.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.1651, allocations: 440.5 kB / 316.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006753/0.1658, allocations: 0.678 MB / 316.8 MB, free: 8.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1658, allocations: 3.469 kB / 316.8 MB, free: 8.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001375/0.1671, allocations: 1.17 MB / 318 MB, free: 7.234 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1671, allocations: 4 kB / 318 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1672, allocations: 7.938 kB / 318 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.1683, allocations: 0.5656 MB / 318.6 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.1688, allocations: 198.5 kB / 318.8 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006373/0.1752, allocations: 10.28 MB / 329 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004799/0.1757, allocations: 55.86 kB / 329.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.1758, allocations: 43.56 kB / 329.1 MB, free: 11.68 MB / 282.7 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.0004091/0.1762, allocations: 230.7 kB / 329.4 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.1765, allocations: 203.1 kB / 329.6 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.1784, allocations: 1.172 MB / 330.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.1785, allocations: 19.98 kB / 330.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1785, allocations: 4 kB / 330.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.1785, allocations: 7.984 kB / 330.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007533/0.186, allocations: 3.075 MB / 333.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.186, allocations: 4 kB / 333.8 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/0.1865, allocations: 154.7 kB / 334 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.188, allocations: 0.5623 MB / 334.6 MB, free: 6.238 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/0.1881, allocations: 24 kB / 334.6 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/0.2042, allocations: 10.21 MB / 344.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2042, allocations: 4.031 kB / 344.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.2065, allocations: 1.553 MB / 346.3 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003456/0.2099, allocations: 295 kB / 346.6 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.2101, allocations: 35.98 kB / 346.7 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.2106, allocations: 59.95 kB / 346.7 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/0.2108, allocations: 133.1 kB / 346.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/0.2109, allocations: 39.92 kB / 346.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000759/0.2116, allocations: 0.6531 MB / 347.5 MB, free: 8.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2116, allocations: 0 / 347.5 MB, free: 8.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.004443/0.2161, allocations: 0.5078 MB / 348.1 MB, free: 8.277 MB / 298.7 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.0004139/0.2165, allocations: 224.5 kB / 348.3 MB, free: 8.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002027/0.2185, allocations: 1.704 MB / 350 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2185, allocations: 4 kB / 350 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004381/0.2229, allocations: 1.413 MB / 351.4 MB, free: 4.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.2242, allocations: 408.6 kB / 351.8 MB, free: 4.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.2359, allocations: 3.929 MB / 355.7 MB, free: 484 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007151/0.2366, allocations: 0.7014 MB / 356.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.003577/0.2402, allocations: 223.8 kB / 356.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.2404, allocations: 84.5 kB / 356.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2404, allocations: 0 / 356.7 MB, free: 15.44 MB / 314.7 MB Notification: Performance of Templates: time 0.03802/0.2784, allocations: 30.51 MB / 387.2 MB, free: 1.383 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5514250970445573]