Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001387/0.001387, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001495/0.001495, allocations: 163.2 kB / 24.99 MB, free: 8.801 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.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.57 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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.833e-05, allocations: 5.125 kB / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005545/0.005563, allocations: 6.848 MB / 279.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.00879, allocations: 2.313 MB / 282.2 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003878/0.009178, allocations: 63.56 kB / 282.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007053/0.009883, allocations: 465.2 kB / 282.7 MB, free: 8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000979/0.01086, allocations: 0.7335 MB / 283.4 MB, free: 7.262 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.0112, allocations: 287.6 kB / 283.7 MB, free: 6.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.01282, allocations: 2.971 MB / 286.7 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.0139, allocations: 1.336 MB / 288 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.01554, allocations: 2.026 MB / 290 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1167/0.1322, allocations: 1.516 MB / 291.5 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009215/0.1331, allocations: 353.5 kB / 291.9 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.1342, allocations: 433.9 kB / 292.3 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007092/0.1349, allocations: 0.9595 MB / 293.3 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0026/0.1375, allocations: 1.081 MB / 294.4 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007077/0.1446, allocations: 2.571 MB / 296.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.1446, allocations: 2.078 kB / 296.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1446, allocations: 0 / 296.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000179/0.1448, allocations: 0.8125 kB / 296.9 MB, free: 16.59 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: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.009237/0.154, allocations: 3.179 MB / 300.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.1541, allocations: 15.64 kB / 300.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.1556, allocations: 0.5225 MB / 300.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.1591, allocations: 1.5 MB / 302.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.1593, allocations: 167.7 kB / 302.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005191/0.1598, allocations: 215.1 kB / 302.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003293/0.1631, allocations: 1.915 MB / 304.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.1631, allocations: 5.875 kB / 304.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.1633, allocations: 89.2 kB / 304.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.753e-05/0.1634, allocations: 123.3 kB / 304.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.1652, allocations: 0.8059 MB / 305.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007933/0.1731, allocations: 7.028 MB / 312.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.1744, allocations: 1.13 MB / 313.6 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007716/0.1752, allocations: 0.6342 MB / 314.2 MB, free: 7.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.1753, allocations: 65.03 kB / 314.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1753, allocations: 50.7 kB / 314.4 MB, free: 7.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.298e-06/0.1754, allocations: 3.172 kB / 314.4 MB, free: 7.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004942/0.1803, allocations: 3.062 MB / 317.4 MB, free: 4.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.1803, allocations: 64.72 kB / 317.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.1814, allocations: 1.087 MB / 318.6 MB, free: 3.055 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.1815, allocations: 45.7 kB / 318.6 MB, free: 3.004 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.1818, allocations: 1.074 MB / 319.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.182, allocations: 479.3 kB / 320.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.1823, allocations: 240.1 kB / 320.4 MB, free: 1.223 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.1824, allocations: 0.5472 MB / 320.9 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.1827, allocations: 194.5 kB / 321.1 MB, free: 488 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.1831, allocations: 437.2 kB / 321.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009564/0.1841, allocations: 0.6895 MB / 322.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1841, allocations: 0 / 322.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001998/0.1861, allocations: 1.162 MB / 323.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1861, allocations: 11.47 kB / 323.4 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1861, allocations: 4 kB / 323.4 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.1876, allocations: 0.557 MB / 324 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.1881, allocations: 206 kB / 324.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006682/0.1948, allocations: 10.29 MB / 334.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007044/0.1955, allocations: 47.97 kB / 334.5 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.1955, allocations: 40 kB / 334.6 MB, free: 2.543 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.0006316/0.1962, allocations: 223.6 kB / 334.8 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/0.1964, allocations: 203 kB / 335 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.1981, allocations: 1.182 MB / 336.2 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.1981, allocations: 12 kB / 336.2 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1981, allocations: 4 kB / 336.2 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.1981, allocations: 7.922 kB / 336.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004085/0.2022, allocations: 3.085 MB / 339.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.2022, allocations: 4 kB / 339.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.2026, allocations: 162.9 kB / 339.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.2039, allocations: 0.5536 MB / 340 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/0.204, allocations: 31.92 kB / 340 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006221/0.2102, allocations: 10.2 MB / 350.2 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2102, allocations: 3.562 kB / 350.2 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/0.2125, allocations: 1.566 MB / 351.8 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/0.213, allocations: 289.4 kB / 352.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.2131, allocations: 28 kB / 352.1 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.2135, allocations: 67.94 kB / 352.2 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.2137, allocations: 133 kB / 352.3 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.2138, allocations: 32 kB / 352.3 MB, free: 324 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000783/0.2146, allocations: 0.6572 MB / 353 MB, free: 15.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2146, allocations: 0 / 353 MB, free: 15.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001449/0.216, allocations: 0.5117 MB / 353.5 MB, free: 15.14 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.0004487/0.2165, allocations: 213 kB / 353.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.2184, allocations: 1.714 MB / 355.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2184, allocations: 0 / 355.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.2196, allocations: 1.416 MB / 356.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.2208, allocations: 410.3 kB / 357.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/0.2267, allocations: 3.971 MB / 361.2 MB, free: 7.305 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.2274, allocations: 0.7014 MB / 361.9 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005709/0.2279, allocations: 223.8 kB / 362.1 MB, free: 6.348 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.2281, allocations: 96.48 kB / 362.2 MB, free: 6.254 MB / 314.7 MB Notification: Performance of SimCode: time 1.943e-06/0.2281, allocations: 0 / 362.2 MB, free: 6.254 MB / 314.7 MB Notification: Performance of Templates: time 0.06522/0.2933, allocations: 29.21 MB / 391.4 MB, free: 9.477 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.708665442885831]