Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.00101/0.00101, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001586/0.001586, allocations: 161 kB / 24.55 MB, free: 12 kB / 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.9543/0.9543, allocations: 177.1 MB / 205 MB, free: 5.586 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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.419e-05, allocations: 6.312 kB / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005704/0.005718, allocations: 6.847 MB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003724/0.009442, allocations: 2.298 MB / 282.1 MB, free: 8.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.01012, allocations: 59.62 kB / 282.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009892/0.01111, allocations: 461.2 kB / 282.6 MB, free: 7.801 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.01257, allocations: 0.7258 MB / 283.4 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.013, allocations: 279.6 kB / 283.6 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002156/0.01516, allocations: 2.94 MB / 286.6 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.01655, allocations: 1.348 MB / 287.9 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.01906, allocations: 2.015 MB / 289.9 MB, free: 452 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1047/0.1238, allocations: 1.508 MB / 291.5 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009077/0.1247, allocations: 348.5 kB / 291.8 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000923/0.1256, allocations: 442.9 kB / 292.2 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006098/0.1262, allocations: 0.9445 MB / 293.2 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.1275, allocations: 1.076 MB / 294.2 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.1302, allocations: 2.569 MB / 296.8 MB, free: 16.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.1302, allocations: 1.578 kB / 296.8 MB, free: 16.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1302, allocations: 1.25 kB / 296.8 MB, free: 16.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.071e-05/0.1303, allocations: 0.5 kB / 296.8 MB, free: 16.81 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.004989/0.1353, allocations: 3.154 MB / 300 MB, free: 15.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1353, allocations: 9.469 kB / 300 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009325/0.1363, allocations: 0.5215 MB / 300.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.1381, allocations: 1.477 MB / 302 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-05/0.1382, allocations: 165.2 kB / 302.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.1384, allocations: 222.5 kB / 302.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.1412, allocations: 1.9 MB / 304.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.1413, allocations: 4.719 kB / 304.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.1414, allocations: 87.84 kB / 304.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.779e-05/0.1415, allocations: 111.8 kB / 304.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.1429, allocations: 0.8043 MB / 305.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006617/0.1496, allocations: 6.968 MB / 312.2 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.1507, allocations: 1.123 MB / 313.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007012/0.1514, allocations: 0.6482 MB / 314 MB, free: 7.617 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.1516, allocations: 57.19 kB / 314.1 MB, free: 7.566 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1516, allocations: 58.08 kB / 314.1 MB, free: 7.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.986e-06/0.1516, allocations: 0 / 314.1 MB, free: 7.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004499/0.1561, allocations: 3.063 MB / 317.2 MB, free: 4.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.1561, allocations: 64.72 kB / 317.2 MB, free: 4.355 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008773/0.157, allocations: 1.091 MB / 318.3 MB, free: 3.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.157, allocations: 49.7 kB / 318.4 MB, free: 3.195 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.1574, allocations: 1.058 MB / 319.4 MB, free: 2.129 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.1575, allocations: 479.3 kB / 319.9 MB, free: 1.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.1577, allocations: 236.5 kB / 320.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.935e-05/0.1578, allocations: 0.5472 MB / 320.7 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.1581, allocations: 194.5 kB / 320.9 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.1585, allocations: 436.7 kB / 321.3 MB, free: 196 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007839/0.1593, allocations: 0.6884 MB / 322 MB, free: 15.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1593, allocations: 3.281 kB / 322 MB, free: 15.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001836/0.1611, allocations: 1.159 MB / 323.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.1611, allocations: 8 kB / 323.2 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.1611, allocations: 7.938 kB / 323.2 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/0.1628, allocations: 0.5571 MB / 323.7 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.1634, allocations: 206.2 kB / 323.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007672/0.1711, allocations: 10.3 MB / 334.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007614/0.1718, allocations: 47.91 kB / 334.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/0.1719, allocations: 40 kB / 334.3 MB, free: 2.746 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.0006563/0.1726, allocations: 219.8 kB / 334.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.1729, allocations: 207 kB / 334.7 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.1749, allocations: 1.178 MB / 335.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.1749, allocations: 12 kB / 335.9 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1749, allocations: 4 kB / 335.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.1749, allocations: 7.969 kB / 335.9 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004746/0.1796, allocations: 3.081 MB / 339 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.1796, allocations: 4 kB / 339 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.1801, allocations: 155 kB / 339.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/0.1817, allocations: 0.5674 MB / 339.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.889e-05/0.1818, allocations: 28 kB / 339.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007427/0.1892, allocations: 10.2 MB / 350 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1892, allocations: 4.125 kB / 350 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.1919, allocations: 1.554 MB / 351.5 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005778/0.1924, allocations: 302 kB / 351.8 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.1926, allocations: 27.98 kB / 351.8 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/0.1931, allocations: 67.95 kB / 351.9 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.1933, allocations: 121.1 kB / 352 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/0.1934, allocations: 46.77 kB / 352.1 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008981/0.1943, allocations: 0.6572 MB / 352.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1943, allocations: 0 / 352.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001804/0.1961, allocations: 0.5156 MB / 353.2 MB, free: 15.33 MB / 314.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.0004683/0.1966, allocations: 205.8 kB / 353.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.1987, allocations: 1.713 MB / 355.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1987, allocations: 0 / 355.2 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.2002, allocations: 1.409 MB / 356.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.2016, allocations: 417.9 kB / 357 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006249/0.2078, allocations: 3.935 MB / 360.9 MB, free: 7.531 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006773/0.2085, allocations: 0.7092 MB / 361.6 MB, free: 6.789 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006296/0.2091, allocations: 227.8 kB / 361.8 MB, free: 6.562 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.2093, allocations: 88.5 kB / 361.9 MB, free: 6.477 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/0.2093, allocations: 0 / 361.9 MB, free: 6.477 MB / 314.7 MB Notification: Performance of Templates: time 0.04279/0.2521, allocations: 30.52 MB / 392.4 MB, free: 8.43 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.606979406904429]