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.000963/0.000963, 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.001118/0.001118, allocations: 169.1 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 1.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.593e-06/1.593e-06, allocations: 0 / 273.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.063e-05, allocations: 2.312 kB / 273.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007152/0.007182, allocations: 6.723 MB / 280.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003837/0.01102, allocations: 2.371 MB / 282.6 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004846/0.0115, allocations: 63.56 kB / 282.7 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008868/0.01239, allocations: 473.1 kB / 283.1 MB, free: 7.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.01375, allocations: 0.7219 MB / 283.8 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.01422, allocations: 279.6 kB / 284.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002456/0.01667, allocations: 2.959 MB / 287.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.01818, allocations: 1.367 MB / 288.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.02062, allocations: 2.012 MB / 290.4 MB, free: 188 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.118/0.1386, allocations: 1.513 MB / 292 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008579/0.1395, allocations: 348.3 kB / 292.3 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000951/0.1404, allocations: 442.7 kB / 292.7 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007325/0.1412, allocations: 0.9446 MB / 293.7 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0015/0.1427, allocations: 1.078 MB / 294.8 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.1455, allocations: 2.564 MB / 297.3 MB, free: 17.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1455, allocations: 0 / 297.3 MB, free: 17.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1455, allocations: 0 / 297.3 MB, free: 17.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.028e-05/0.1456, allocations: 0 / 297.3 MB, free: 17.05 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.004256/0.1499, allocations: 2.786 MB / 300.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1499, allocations: 8.625 kB / 300.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009182/0.1508, allocations: 439.2 kB / 300.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.1523, allocations: 1.004 MB / 301.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.029e-05/0.1524, allocations: 161.5 kB / 301.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.1526, allocations: 221.7 kB / 301.9 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.1547, allocations: 1.785 MB / 303.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.1547, allocations: 3.531 kB / 303.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.1548, allocations: 97.75 kB / 303.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-05/0.1549, allocations: 114.4 kB / 303.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009732/0.1559, allocations: 0.6378 MB / 304.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005194/0.1611, allocations: 4.998 MB / 309.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000839/0.1619, allocations: 0.9715 MB / 310.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/0.1624, allocations: 0.5241 MB / 311 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.1626, allocations: 45.92 kB / 311.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1626, allocations: 50.52 kB / 311.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.487e-06/0.1626, allocations: 0.7031 kB / 311.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003314/0.1659, allocations: 2.215 MB / 313.4 MB, free: 8.949 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.1659, allocations: 64.72 kB / 313.4 MB, free: 8.875 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.1665, allocations: 0.8495 MB / 314.3 MB, free: 8.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.1666, allocations: 49.7 kB / 314.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.1668, allocations: 0.8116 MB / 315.1 MB, free: 7.336 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.1669, allocations: 464.3 kB / 315.6 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.1671, allocations: 207.2 kB / 315.8 MB, free: 6.727 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.363e-05/0.1671, allocations: 361.5 kB / 316.1 MB, free: 6.395 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.1673, allocations: 149.4 kB / 316.3 MB, free: 6.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.1675, allocations: 299.6 kB / 316.6 MB, free: 5.934 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.168, allocations: 0.5577 MB / 317.1 MB, free: 5.371 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.168, allocations: 8 kB / 317.1 MB, free: 5.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0009657/0.169, allocations: 0.8558 MB / 318 MB, free: 4.535 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.169, allocations: 8.438 kB / 318 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.169, allocations: 8 kB / 318 MB, free: 4.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.1701, allocations: 0.4973 MB / 318.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.1705, allocations: 226.1 kB / 318.7 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004279/0.1748, allocations: 7.416 MB / 326.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.1752, allocations: 35.98 kB / 326.2 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.1753, allocations: 31.03 kB / 326.2 MB, free: 12.12 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.0004852/0.1758, allocations: 183.6 kB / 326.4 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.1759, allocations: 143.9 kB / 326.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.1771, allocations: 0.9031 MB / 327.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.1771, allocations: 15.98 kB / 327.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1771, allocations: 4 kB / 327.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.1771, allocations: 7.984 kB / 327.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.18, allocations: 2.363 MB / 329.8 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.18, allocations: 0 / 329.8 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.1805, allocations: 179.6 kB / 330 MB, free: 8.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.1816, allocations: 0.5018 MB / 330.5 MB, free: 8.117 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.863e-05/0.1817, allocations: 35.92 kB / 330.5 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004688/0.1863, allocations: 7.459 MB / 338 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1863, allocations: 7.781 kB / 338 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.1878, allocations: 1.19 MB / 339.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.1881, allocations: 187 kB / 339.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.1883, allocations: 24 kB / 339.4 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.1886, allocations: 59.97 kB / 339.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.1888, allocations: 108.4 kB / 339.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/0.1888, allocations: 31.98 kB / 339.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003931/0.1892, allocations: 445.3 kB / 340 MB, free: 14.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1892, allocations: 0 / 340 MB, free: 14.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00154/0.1908, allocations: 0.5038 MB / 340.5 MB, free: 13.91 MB / 298.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.0003931/0.1912, allocations: 198.9 kB / 340.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.1926, allocations: 1.326 MB / 342.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.847e-05/0.1926, allocations: 16 kB / 342.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009398/0.1935, allocations: 1.102 MB / 343.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000929/0.1945, allocations: 406 kB / 343.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/0.1997, allocations: 3.812 MB / 347.4 MB, free: 7.039 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.2003, allocations: 0.5792 MB / 348 MB, free: 6.434 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004338/0.2007, allocations: 160 kB / 348.1 MB, free: 6.273 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006747/0.2014, allocations: 391.1 kB / 348.5 MB, free: 5.883 MB / 298.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2014, allocations: 0 / 348.5 MB, free: 5.883 MB / 298.7 MB Notification: Performance of Templates: time 0.04137/0.2428, allocations: 30.99 MB / 379.5 MB, free: 7.441 MB / 330.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 -s gbode -gbm=radauIIA3 -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.468439470976591]