Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 105.5 kB / 18.35 MB, free: 4.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.001079, allocations: 192 kB / 19.29 MB, free: 3.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 51.94 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1133, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.00924/0.1226, allocations: 6.825 MB / 335.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004381/0.127, allocations: 2.326 MB / 337.9 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000984/0.1281, allocations: 39.81 kB / 337.9 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.1294, allocations: 456.9 kB / 338.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.1315, allocations: 0.6603 MB / 339 MB, free: 9.406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.1322, allocations: 283.7 kB / 339.3 MB, free: 9.129 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003376/0.1356, allocations: 2.91 MB / 342.2 MB, free: 6.207 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003094/0.1387, allocations: 2.454 MB / 344.7 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.1412, allocations: 1.311 MB / 346 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.1436, allocations: 1.537 MB / 347.5 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007824/0.1444, allocations: 351.9 kB / 347.9 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.1458, allocations: 431.9 kB / 348.3 MB, free: 84 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001092/0.1469, allocations: 0.8845 MB / 349.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002029/0.1489, allocations: 1.533 MB / 350.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004064/0.153, allocations: 4.607 MB / 355.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.153, allocations: 0 / 355.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.153, allocations: 0 / 355.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.311e-05/0.1531, allocations: 0 / 355.3 MB, free: 9.035 MB / 302.1 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.005944/0.1591, allocations: 2.956 MB / 358.3 MB, free: 6.016 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1591, allocations: 12.02 kB / 358.3 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007399/0.1599, allocations: 309.6 kB / 358.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002692/0.1626, allocations: 1.522 MB / 360.1 MB, free: 4.117 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.1627, allocations: 160.4 kB / 360.3 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/0.1631, allocations: 208 kB / 360.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005253/0.1684, allocations: 3.182 MB / 363.6 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.1684, allocations: 0 / 363.6 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/0.1686, allocations: 88 kB / 363.7 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.1688, allocations: 108.4 kB / 363.8 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00433/0.1731, allocations: 2.723 MB / 366.6 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.1868, allocations: 8.787 MB / 375.3 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.1901, allocations: 3.386 MB / 378.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1522/0.3423, allocations: 1.32 MB / 380 MB, free: 51.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003132/0.3427, allocations: 127.9 kB / 380.2 MB, free: 51.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3427, allocations: 48.64 kB / 380.2 MB, free: 51.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.757e-06/0.3427, allocations: 0 / 380.2 MB, free: 51.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01112/0.3538, allocations: 5.631 MB / 385.9 MB, free: 49.67 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.3539, allocations: 66.3 kB / 385.9 MB, free: 49.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.3568, allocations: 1.493 MB / 387.4 MB, free: 49.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001889/0.357, allocations: 47.05 kB / 387.5 MB, free: 48.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006525/0.3577, allocations: 0.949 MB / 388.4 MB, free: 48.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.358, allocations: 439.3 kB / 388.8 MB, free: 47.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/0.3584, allocations: 218.8 kB / 389 MB, free: 47.83 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.3585, allocations: 364 kB / 389.4 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.3595, allocations: 0.6943 MB / 390.1 MB, free: 47.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.3606, allocations: 0.8676 MB / 391 MB, free: 46.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.3626, allocations: 1.608 MB / 392.6 MB, free: 46.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.85e-06/0.3626, allocations: 7.938 kB / 392.6 MB, free: 46.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003403/0.366, allocations: 2.305 MB / 394.9 MB, free: 45.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.366, allocations: 6.781 kB / 394.9 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.366, allocations: 3.719 kB / 394.9 MB, free: 45.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0025/0.3685, allocations: 0.8264 MB / 395.7 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007571/0.3693, allocations: 204.1 kB / 395.9 MB, free: 44.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009123/0.3784, allocations: 11.51 MB / 407.4 MB, free: 35.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.3796, allocations: 51.95 kB / 407.5 MB, free: 35.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/0.3796, allocations: 36 kB / 407.5 MB, free: 35.07 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.00106/0.3807, allocations: 0.8174 MB / 408.3 MB, free: 34.24 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.3809, allocations: 162.1 kB / 408.5 MB, free: 34.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/0.3839, allocations: 2.27 MB / 410.8 MB, free: 31.78 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3839, allocations: 16 kB / 410.8 MB, free: 31.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3839, allocations: 4 kB / 410.8 MB, free: 31.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3839, allocations: 7.969 kB / 410.8 MB, free: 31.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006126/0.3901, allocations: 4.71 MB / 415.5 MB, free: 26.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.3901, allocations: 4 kB / 415.5 MB, free: 26.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/0.3907, allocations: 151.9 kB / 415.7 MB, free: 26.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/0.3928, allocations: 0.8169 MB / 416.5 MB, free: 25.99 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.426e-05/0.3929, allocations: 28 kB / 416.5 MB, free: 25.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008707/0.4016, allocations: 11.38 MB / 427.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4017, allocations: 4.031 kB / 427.9 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003971/0.4057, allocations: 3.238 MB / 431.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008364/0.4065, allocations: 407.7 kB / 431.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.4067, allocations: 24 kB / 431.5 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007262/0.4074, allocations: 71.94 kB / 431.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/0.4077, allocations: 117.1 kB / 431.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/0.4078, allocations: 39.92 kB / 431.8 MB, free: 10.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.409, allocations: 1.056 MB / 432.8 MB, free: 9.043 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.409, allocations: 7.938 kB / 432.8 MB, free: 9.035 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001816/0.4109, allocations: 0.5115 MB / 433.3 MB, free: 8.527 MB / 318.1 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.000445/0.4113, allocations: 201.7 kB / 433.5 MB, free: 8.328 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002974/0.4143, allocations: 2.413 MB / 435.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4143, allocations: 0 / 435.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.4162, allocations: 1.639 MB / 437.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.418, allocations: 0.5049 MB / 438.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/0.4245, allocations: 4.618 MB / 442.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/0.4262, allocations: 2.04 MB / 444.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009671/0.4272, allocations: 313.5 kB / 445.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.4275, allocations: 95.42 kB / 445.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4275, allocations: 0 / 445.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of Templates: time 0.05162/0.4791, allocations: 32.56 MB / 477.7 MB, free: 11.97 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches