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.001097/0.001097, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001237/0.001237, allocations: 168.8 kB / 24.91 MB, free: 9.199 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 0.8973/0.8973, 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.453e-06/1.453e-06, allocations: 3.938 kB / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.666e-06/1.012e-05, allocations: 2.312 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007599/0.007609, allocations: 10.28 MB / 283.8 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004981/0.01259, allocations: 3.348 MB / 287.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006115/0.0132, allocations: 115.2 kB / 287.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009852/0.01419, allocations: 0.7371 MB / 288 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.01597, allocations: 1.234 MB / 289.2 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005261/0.01649, allocations: 487.4 kB / 289.7 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09819/0.1147, allocations: 5.333 MB / 295 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.1172, allocations: 2.507 MB / 297.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004112/0.1213, allocations: 3.638 MB / 301.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002837/0.1241, allocations: 2.747 MB / 303.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006713/0.1248, allocations: 0.6236 MB / 304.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007399/0.1256, allocations: 0.7078 MB / 305.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000744/0.1263, allocations: 1.727 MB / 306.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.1275, allocations: 1.947 MB / 308.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.1298, allocations: 4.607 MB / 313.5 MB, free: 7.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1298, allocations: 0 / 313.5 MB, free: 7.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1298, allocations: 0.9375 kB / 313.5 MB, free: 7.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.162e-05/0.1298, allocations: 0.5312 kB / 313.5 MB, free: 7.16 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.003644/0.1335, allocations: 4.829 MB / 318.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.1335, allocations: 11.97 kB / 318.3 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009266/0.1344, allocations: 0.7576 MB / 319.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.1361, allocations: 1.715 MB / 320.8 MB, free: 164 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.1362, allocations: 291.9 kB / 321.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/0.1366, allocations: 390.2 kB / 321.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002936/0.1395, allocations: 3.226 MB / 324.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.112e-05/0.1395, allocations: 0 / 324.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.1398, allocations: 163.4 kB / 324.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/0.1399, allocations: 211 kB / 325.1 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.1417, allocations: 1.18 MB / 326.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009236/0.1509, allocations: 9.09 MB / 335.3 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.1526, allocations: 1.949 MB / 337.3 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.1537, allocations: 1.054 MB / 338.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.1538, allocations: 69.98 kB / 338.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.1539, allocations: 64.5 kB / 338.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 3.336e-06/0.1539, allocations: 0 / 338.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.005966/0.1598, allocations: 4.113 MB / 342.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.1599, allocations: 77.42 kB / 342.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009935/0.1609, allocations: 1.438 MB / 344.1 MB, free: 9.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.652e-05/0.161, allocations: 65.7 kB / 344.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005162/0.1615, allocations: 1.379 MB / 345.5 MB, free: 8.211 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004181/0.1619, allocations: 0.8782 MB / 346.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003871/0.1623, allocations: 388.9 kB / 346.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.875e-05/0.1623, allocations: 301.1 kB / 347.1 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.1627, allocations: 300 kB / 347.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.1632, allocations: 0.5492 MB / 347.9 MB, free: 5.863 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.1644, allocations: 1.063 MB / 349 MB, free: 4.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1644, allocations: 0 / 349 MB, free: 4.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002035/0.1664, allocations: 1.647 MB / 350.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1664, allocations: 8 kB / 350.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1664, allocations: 8.781 kB / 350.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/0.1685, allocations: 1.034 MB / 351.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/0.1692, allocations: 372.1 kB / 352.1 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009423/0.1786, allocations: 17.35 MB / 369.4 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.1792, allocations: 67.83 kB / 369.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.777e-05/0.1793, allocations: 59.98 kB / 369.5 MB, free: 15.64 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.0005604/0.1799, allocations: 255.2 kB / 369.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/0.1802, allocations: 267.7 kB / 370.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.1822, allocations: 1.738 MB / 371.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.1823, allocations: 27.94 kB / 371.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1823, allocations: 8 kB / 371.8 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.1823, allocations: 11.95 kB / 371.8 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/0.1868, allocations: 3.736 MB / 375.6 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.1868, allocations: 0 / 375.6 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/0.1873, allocations: 281.6 kB / 375.8 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/0.1893, allocations: 1.026 MB / 376.9 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.1894, allocations: 63.91 kB / 376.9 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009432/0.1989, allocations: 17.52 MB / 394.5 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1989, allocations: 3.938 kB / 394.5 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.2014, allocations: 2.141 MB / 396.6 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005169/0.2019, allocations: 336.8 kB / 396.9 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.2021, allocations: 55.98 kB / 397 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/0.2027, allocations: 95.94 kB / 397.1 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/0.203, allocations: 205.2 kB / 397.3 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.983e-05/0.203, allocations: 55.98 kB / 397.3 MB, free: 3.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006232/0.2037, allocations: 0.7701 MB / 398.1 MB, free: 2.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2037, allocations: 0 / 398.1 MB, free: 2.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001893/0.2056, allocations: 0.953 MB / 399.1 MB, free: 1.844 MB / 346.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.0004205/0.206, allocations: 245.9 kB / 399.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00241/0.2084, allocations: 2.789 MB / 402.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.138e-05/0.2084, allocations: 20.5 kB / 402.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.2102, allocations: 2.372 MB / 404.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.2117, allocations: 0.747 MB / 405.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00778/0.2195, allocations: 6.898 MB / 412.1 MB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009332/0.2204, allocations: 1.027 MB / 413.1 MB, free: 3.559 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005636/0.221, allocations: 282 kB / 413.4 MB, free: 3.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/0.2221, allocations: 0.6786 MB / 414.1 MB, free: 2.582 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2221, allocations: 0 / 414.1 MB, free: 2.582 MB / 362.7 MB Notification: Performance of Templates: time 0.1569/0.3791, allocations: 55.77 MB / 469.9 MB, free: 92.47 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.071981822140515]