Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 77.88 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 166.7 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.451e-05, allocations: 2.312 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007967/0.007982, allocations: 10.28 MB / 283.7 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003743/0.01172, allocations: 3.217 MB / 286.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005111/0.01224, allocations: 115.2 kB / 287 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000951/0.01319, allocations: 0.7293 MB / 287.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.01464, allocations: 1.238 MB / 289 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.01514, allocations: 487.4 kB / 289.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1185/0.1337, allocations: 5.313 MB / 294.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002851/0.1365, allocations: 2.44 MB / 297.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004207/0.1407, allocations: 3.641 MB / 300.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002858/0.1436, allocations: 2.76 MB / 303.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009452/0.1445, allocations: 0.623 MB / 304.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009444/0.1455, allocations: 0.714 MB / 305 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007529/0.1462, allocations: 1.722 MB / 306.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.1476, allocations: 1.955 MB / 308.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.1501, allocations: 4.602 MB / 313.2 MB, free: 7.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1501, allocations: 0 / 313.2 MB, free: 7.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1501, allocations: 0 / 313.2 MB, free: 7.188 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.566e-05/0.1502, allocations: 0 / 313.2 MB, free: 7.188 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.004278/0.1544, allocations: 5.274 MB / 318.5 MB, free: 2.133 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1545, allocations: 13 kB / 318.5 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009805/0.1554, allocations: 0.9223 MB / 319.5 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.1576, allocations: 2.4 MB / 321.9 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.1578, allocations: 290.6 kB / 322.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000351/0.1581, allocations: 397.3 kB / 322.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003167/0.1613, allocations: 3.183 MB / 325.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.792e-05/0.1613, allocations: 7.938 kB / 325.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/0.1615, allocations: 158 kB / 325.9 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.1617, allocations: 207.8 kB / 326.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.1635, allocations: 1.102 MB / 327.2 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/0.1748, allocations: 11.73 MB / 338.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.1767, allocations: 2.136 MB / 341 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.1778, allocations: 1.162 MB / 342.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.178, allocations: 63.53 kB / 342.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.178, allocations: 67.39 kB / 342.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 3.577e-06/0.178, allocations: 0 / 342.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.006622/0.1847, allocations: 4.494 MB / 346.8 MB, free: 6.559 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1847, allocations: 77.42 kB / 346.9 MB, free: 6.469 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.186, allocations: 1.769 MB / 348.7 MB, free: 4.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-05/0.1861, allocations: 69.7 kB / 348.7 MB, free: 4.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008277/0.187, allocations: 1.803 MB / 350.5 MB, free: 3.117 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004621/0.1874, allocations: 0.9258 MB / 351.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00043/0.1879, allocations: 453.2 kB / 351.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.188, allocations: 480.7 kB / 352.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.1884, allocations: 276.5 kB / 352.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008734/0.1892, allocations: 0.7251 MB / 353.4 MB, free: 300 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.1903, allocations: 1.144 MB / 354.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.1903, allocations: 4 kB / 354.5 MB, free: 15.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002353/0.1927, allocations: 2.002 MB / 356.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1927, allocations: 8.719 kB / 356.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.1927, allocations: 8 kB / 356.5 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/0.1949, allocations: 1.081 MB / 357.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/0.1956, allocations: 377.1 kB / 358 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.2073, allocations: 23.65 MB / 381.6 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.208, allocations: 67.92 kB / 381.7 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.932e-05/0.2081, allocations: 56 kB / 381.8 MB, free: 3.094 MB / 330.7 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.0006236/0.2087, allocations: 294.1 kB / 382 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003686/0.2091, allocations: 366.2 kB / 382.4 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.2117, allocations: 2.015 MB / 384.4 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.2117, allocations: 28 kB / 384.4 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.2117, allocations: 8 kB / 384.5 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.2117, allocations: 11.95 kB / 384.5 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005285/0.217, allocations: 4.486 MB / 389 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.217, allocations: 8 kB / 389 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.2176, allocations: 269.9 kB / 389.2 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002413/0.22, allocations: 1.078 MB / 390.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.2201, allocations: 63.91 kB / 390.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/0.2319, allocations: 23.51 MB / 413.9 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2319, allocations: 0 / 413.9 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/0.2349, allocations: 2.501 MB / 416.4 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006523/0.2355, allocations: 488.2 kB / 416.9 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.2357, allocations: 59.98 kB / 416.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/0.2362, allocations: 91.95 kB / 417 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002917/0.2365, allocations: 213 kB / 417.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.2366, allocations: 51.98 kB / 417.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007973/0.2374, allocations: 0.9674 MB / 418.2 MB, free: 14.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2374, allocations: 0 / 418.2 MB, free: 14.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002111/0.2395, allocations: 0.9453 MB / 419.2 MB, free: 13.22 MB / 378.7 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.0004099/0.2399, allocations: 250.2 kB / 419.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002987/0.2429, allocations: 3.492 MB / 422.9 MB, free: 9.355 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.2429, allocations: 4 kB / 422.9 MB, free: 9.352 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002042/0.245, allocations: 3.026 MB / 425.9 MB, free: 6.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.2468, allocations: 0.7598 MB / 426.7 MB, free: 5.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1167/0.3636, allocations: 7.077 MB / 433.8 MB, free: 107.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/0.365, allocations: 1.254 MB / 435 MB, free: 107 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001057/0.3661, allocations: 279.2 kB / 435.3 MB, free: 107 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/0.3674, allocations: 0.7694 MB / 436.1 MB, free: 106.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3674, allocations: 0.5312 kB / 436.1 MB, free: 106.9 MB / 378.7 MB Notification: Performance of Templates: time 0.05374/0.4212, allocations: 55.86 MB / 491.9 MB, free: 68.02 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4096669889986515]