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.001288/0.001288, allocations: 81.91 kB / 21.42 MB, free: 3.066 MB / 18.57 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.001555/0.001555, allocations: 162.8 kB / 24.82 MB, free: 9.312 MB / 18.57 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.087/1.087, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.608e-05, allocations: 5.266 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007519/0.007535, allocations: 10.34 MB / 283.7 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003747/0.01128, allocations: 3.24 MB / 286.9 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005673/0.01185, allocations: 111.2 kB / 287 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009832/0.01283, allocations: 0.7409 MB / 287.8 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.01444, allocations: 1.257 MB / 289 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.01505, allocations: 499.3 kB / 289.5 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1184/0.1335, allocations: 5.375 MB / 294.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003182/0.1367, allocations: 2.441 MB / 297.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004692/0.1414, allocations: 3.681 MB / 301 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003301/0.1447, allocations: 2.791 MB / 303.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.1458, allocations: 0.6253 MB / 304.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.1468, allocations: 0.7009 MB / 305.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008064/0.1477, allocations: 1.746 MB / 306.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001629/0.1493, allocations: 1.969 MB / 308.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002814/0.1521, allocations: 4.621 MB / 313.5 MB, free: 6.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1521, allocations: 4 kB / 313.5 MB, free: 6.887 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1521, allocations: 0.5625 kB / 313.5 MB, free: 6.887 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001072/0.1522, allocations: 0 / 313.5 MB, free: 6.887 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.00422/0.1564, allocations: 5.296 MB / 318.8 MB, free: 1.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1565, allocations: 13.47 kB / 318.8 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009438/0.1574, allocations: 0.925 MB / 319.7 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.1595, allocations: 2.416 MB / 322.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.1597, allocations: 295.4 kB / 322.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003508/0.16, allocations: 390.5 kB / 322.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.1632, allocations: 3.199 MB / 326 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-05/0.1632, allocations: 4 kB / 326 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/0.1634, allocations: 159.2 kB / 326.2 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/0.1636, allocations: 235.6 kB / 326.4 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.1652, allocations: 1.109 MB / 327.5 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01336/0.1786, allocations: 11.81 MB / 339.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.1806, allocations: 2.12 MB / 341.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.1818, allocations: 1.167 MB / 342.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.182, allocations: 71.66 kB / 342.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.182, allocations: 63.39 kB / 342.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 3.957e-06/0.182, allocations: 0 / 342.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.006669/0.1887, allocations: 4.5 MB / 347.2 MB, free: 6.105 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.1887, allocations: 77.42 kB / 347.3 MB, free: 6.016 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.1902, allocations: 1.758 MB / 349.1 MB, free: 4.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.359e-05/0.1903, allocations: 69.7 kB / 349.1 MB, free: 4.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008731/0.1911, allocations: 1.828 MB / 351 MB, free: 2.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004626/0.1916, allocations: 0.926 MB / 351.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004525/0.1921, allocations: 459.5 kB / 352.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1922, allocations: 484.7 kB / 352.8 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/0.1926, allocations: 272.5 kB / 353.1 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.1932, allocations: 0.722 MB / 353.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.1944, allocations: 1.145 MB / 354.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.1944, allocations: 4 kB / 354.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002551/0.197, allocations: 1.998 MB / 356.9 MB, free: 12.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.197, allocations: 8 kB / 357 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.197, allocations: 8 kB / 357 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002327/0.1994, allocations: 1.071 MB / 358 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/0.2001, allocations: 377.8 kB / 358.4 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/0.2125, allocations: 23.67 MB / 382.1 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.2135, allocations: 71.98 kB / 382.1 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.2136, allocations: 52 kB / 382.2 MB, free: 2.625 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.0009033/0.2145, allocations: 293.4 kB / 382.5 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003908/0.2149, allocations: 369.8 kB / 382.8 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.2175, allocations: 2.01 MB / 384.8 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.2175, allocations: 27.94 kB / 384.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.2175, allocations: 12 kB / 384.9 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.2175, allocations: 15.95 kB / 384.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006015/0.2235, allocations: 4.501 MB / 389.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.2235, allocations: 0 / 389.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.2241, allocations: 274.5 kB / 389.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002494/0.2266, allocations: 1.064 MB / 390.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.2267, allocations: 55.98 kB / 390.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01375/0.2405, allocations: 23.5 MB / 414.3 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2405, allocations: 0 / 414.3 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003921/0.2444, allocations: 2.497 MB / 416.8 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008526/0.2453, allocations: 0.4885 MB / 417.3 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.2455, allocations: 51.98 kB / 417.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007547/0.2462, allocations: 91.95 kB / 417.4 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003866/0.2466, allocations: 212.9 kB / 417.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.2467, allocations: 51.98 kB / 417.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00109/0.2478, allocations: 0.9817 MB / 418.7 MB, free: 13.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2478, allocations: 0 / 418.7 MB, free: 13.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0029/0.2507, allocations: 0.9492 MB / 419.6 MB, free: 12.74 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.0007662/0.2515, allocations: 254 kB / 419.9 MB, free: 12.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003703/0.2552, allocations: 3.491 MB / 423.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2552, allocations: 0 / 423.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002718/0.2579, allocations: 3.022 MB / 426.4 MB, free: 5.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002742/0.2607, allocations: 0.7474 MB / 427.1 MB, free: 4.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1232/0.3839, allocations: 7.134 MB / 434.3 MB, free: 107.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/0.3854, allocations: 1.265 MB / 435.5 MB, free: 107.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001064/0.3865, allocations: 276.5 kB / 435.8 MB, free: 107.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/0.388, allocations: 0.7698 MB / 436.6 MB, free: 107.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.884e-06/0.388, allocations: 0 / 436.6 MB, free: 107.1 MB / 378.7 MB Notification: Performance of Templates: time 0.0613/0.4493, allocations: 55.86 MB / 492.4 MB, free: 67.64 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] 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","",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.559746167622507]