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.00112/0.00112, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.00558/0.00558, allocations: 162.2 kB / 24.92 MB, free: 8.77 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 0.9615/0.9615, allocations: 177 MB / 205.2 MB, free: 5.453 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.182e-06/1.182e-06, allocations: 0 / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.777e-05, allocations: 2.312 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007245/0.007263, allocations: 10.35 MB / 283.8 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005392/0.01265, allocations: 3.371 MB / 287.1 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.01427, allocations: 111.2 kB / 287.2 MB, free: 3.309 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.01576, allocations: 0.7487 MB / 288 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.01838, allocations: 1.254 MB / 289.3 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009045/0.01929, allocations: 495.3 kB / 289.7 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1142/0.1334, allocations: 5.396 MB / 295.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003773/0.1372, allocations: 2.504 MB / 297.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007236/0.1445, allocations: 3.677 MB / 301.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005/0.1495, allocations: 2.76 MB / 304.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001757/0.1512, allocations: 0.6248 MB / 304.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.1533, allocations: 0.7077 MB / 305.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.1546, allocations: 1.745 MB / 307.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003211/0.1578, allocations: 1.971 MB / 309.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004254/0.1621, allocations: 4.625 MB / 313.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1621, allocations: 0 / 313.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1621, allocations: 0 / 313.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001603/0.1623, allocations: 0.8438 kB / 313.7 MB, free: 6.512 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.005064/0.1673, allocations: 4.855 MB / 318.6 MB, free: 1.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.1673, allocations: 12.03 kB / 318.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.1684, allocations: 0.7661 MB / 319.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.1706, allocations: 1.71 MB / 321.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.1707, allocations: 295.1 kB / 321.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003821/0.1711, allocations: 395.6 kB / 321.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003353/0.1744, allocations: 3.24 MB / 325 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/0.1745, allocations: 11.56 kB / 325 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.1747, allocations: 166.2 kB / 325.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.1749, allocations: 228.1 kB / 325.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.1768, allocations: 1.185 MB / 326.6 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.188, allocations: 9.163 MB / 335.7 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.1898, allocations: 1.938 MB / 337.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.1909, allocations: 1.064 MB / 338.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.191, allocations: 61.98 kB / 338.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.1911, allocations: 64.5 kB / 338.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 4.559e-06/0.1911, allocations: 0 / 338.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.006896/0.198, allocations: 4.117 MB / 343 MB, free: 10.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.198, allocations: 81.42 kB / 343.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.1993, allocations: 1.439 MB / 344.5 MB, free: 8.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.1994, allocations: 65.7 kB / 344.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00056/0.1999, allocations: 1.398 MB / 346 MB, free: 7.418 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004359/0.2004, allocations: 0.8767 MB / 346.8 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000381/0.2007, allocations: 386.7 kB / 347.2 MB, free: 6.258 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.2008, allocations: 308.3 kB / 347.5 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.2012, allocations: 300 kB / 347.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.2017, allocations: 0.5481 MB / 348.4 MB, free: 5.066 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.2027, allocations: 1.059 MB / 349.4 MB, free: 3.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.2027, allocations: 4 kB / 349.4 MB, free: 3.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002091/0.2048, allocations: 1.656 MB / 351.1 MB, free: 2.312 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.2048, allocations: 8 kB / 351.1 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.2048, allocations: 4 kB / 351.1 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002135/0.207, allocations: 1.032 MB / 352.1 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007573/0.2077, allocations: 378.7 kB / 352.5 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.2181, allocations: 17.35 MB / 369.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.2192, allocations: 67.98 kB / 369.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.2193, allocations: 60 kB / 370 MB, free: 14.86 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.0008652/0.2201, allocations: 241.4 kB / 370.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003883/0.2205, allocations: 271.6 kB / 370.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.2227, allocations: 1.735 MB / 372.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.2227, allocations: 24 kB / 372.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.2227, allocations: 12 kB / 372.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.2227, allocations: 15.95 kB / 372.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005255/0.228, allocations: 3.739 MB / 376 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.228, allocations: 4 kB / 376 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006081/0.2286, allocations: 274.2 kB / 376.3 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/0.2307, allocations: 1.024 MB / 377.3 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.2308, allocations: 67.91 kB / 377.4 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/0.2411, allocations: 17.53 MB / 394.9 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2411, allocations: 7.922 kB / 394.9 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/0.2441, allocations: 2.14 MB / 397 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007331/0.2448, allocations: 332.9 kB / 397.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.245, allocations: 55.98 kB / 397.4 MB, free: 3.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005721/0.2456, allocations: 95.91 kB / 397.5 MB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/0.2459, allocations: 209.1 kB / 397.7 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.843e-05/0.246, allocations: 51.92 kB / 397.8 MB, free: 2.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007926/0.2468, allocations: 0.7649 MB / 398.5 MB, free: 2.023 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2468, allocations: 0 / 398.5 MB, free: 2.023 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002373/0.2492, allocations: 0.9609 MB / 399.5 MB, free: 1.062 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.0004755/0.2497, allocations: 230.8 kB / 399.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002797/0.2525, allocations: 2.785 MB / 402.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-05/0.2525, allocations: 20.5 kB / 402.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002046/0.2545, allocations: 2.381 MB / 404.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.2565, allocations: 0.7446 MB / 405.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008709/0.2652, allocations: 6.951 MB / 412.6 MB, free: 3.773 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.2663, allocations: 1.032 MB / 413.6 MB, free: 2.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008056/0.2671, allocations: 282 kB / 413.9 MB, free: 2.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/0.2683, allocations: 0.6747 MB / 414.6 MB, free: 1.746 MB / 362.7 MB Notification: Performance of SimCode: time 2.155e-06/0.2683, allocations: 0 / 414.6 MB, free: 1.746 MB / 362.7 MB Notification: Performance of Templates: time 0.1556/0.4239, allocations: 55.76 MB / 470.3 MB, free: 91.63 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.226218619849533]