Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009205/0.0009205, allocations: 176.5 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 225.7 MB / 243.2 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007094/0.0007094, allocations: 92.2 kB / 294.4 MB, free: 9.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002303/0.0002304, allocations: 15.94 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1938, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.004415/0.1983, allocations: 6.036 MB / 410.6 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002991/0.2013, allocations: 2.401 MB / 413 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005116/0.2018, allocations: 43.81 kB / 413.1 MB, free: 22.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007088/0.2026, allocations: 389.8 kB / 413.4 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.2036, allocations: 0.614 MB / 414.1 MB, free: 21.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.204, allocations: 235.8 kB / 414.3 MB, free: 21.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.2061, allocations: 3.226 MB / 417.5 MB, free: 18.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.2077, allocations: 2.131 MB / 419.6 MB, free: 16.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.2098, allocations: 0.9966 MB / 420.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.2108, allocations: 1.26 MB / 421.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.2111, allocations: 152 kB / 422 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004732/0.2115, allocations: 239.8 kB / 422.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003657/0.2119, allocations: 0.65 MB / 422.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000879/0.2128, allocations: 1.284 MB / 424.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.215, allocations: 4.329 MB / 428.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2151, allocations: 0 / 428.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2151, allocations: 0 / 428.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.4e-05/0.2151, allocations: 0 / 428.5 MB, free: 7.16 MB / 298.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.003568/0.2187, allocations: 2.519 MB / 431.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2187, allocations: 8.031 kB / 431.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006038/0.2194, allocations: 313.6 kB / 431.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.2212, allocations: 1.596 MB / 433 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.087e-05/0.2212, allocations: 160.4 kB / 433.1 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/0.2215, allocations: 212 kB / 433.3 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/0.2256, allocations: 3.17 MB / 436.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.2256, allocations: 0 / 436.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.2258, allocations: 88 kB / 436.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.67e-05/0.2259, allocations: 108.4 kB / 436.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00403/0.23, allocations: 2.734 MB / 439.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01247/0.2425, allocations: 8.954 MB / 448.4 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003241/0.2457, allocations: 3.379 MB / 451.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.2476, allocations: 1.347 MB / 453.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.2479, allocations: 130.4 kB / 453.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.2479, allocations: 47.81 kB / 453.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 3.837e-06/0.2479, allocations: 0 / 453.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.01041/0.2583, allocations: 5.797 MB / 459.1 MB, free: 7.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.2584, allocations: 68.72 kB / 459.2 MB, free: 7.637 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/0.2607, allocations: 1.478 MB / 460.6 MB, free: 6.141 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.2608, allocations: 49.7 kB / 460.7 MB, free: 6.086 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007359/0.2616, allocations: 0.9409 MB / 461.6 MB, free: 5.133 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/0.2619, allocations: 433.6 kB / 462 MB, free: 4.703 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.262, allocations: 28 kB / 462.1 MB, free: 4.676 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2622, allocations: 353.9 kB / 462.4 MB, free: 4.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.2633, allocations: 0.6974 MB / 463.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.2645, allocations: 0.8706 MB / 464 MB, free: 2.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/0.2667, allocations: 1.601 MB / 465.6 MB, free: 1.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2667, allocations: 0 / 465.6 MB, free: 1.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003834/0.2705, allocations: 2.317 MB / 467.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.2706, allocations: 4 kB / 467.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.2706, allocations: 4 kB / 467.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/0.2734, allocations: 0.8228 MB / 468.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/0.2743, allocations: 207.7 kB / 468.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.2858, allocations: 10.52 MB / 479.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.2869, allocations: 55.95 kB / 479.5 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.094e-05/0.287, allocations: 36 kB / 479.5 MB, free: 2.531 MB / 346.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 (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 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.00135/0.2884, allocations: 0.8228 MB / 480.4 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.2887, allocations: 162.1 kB / 480.5 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/0.2923, allocations: 2.277 MB / 482.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.2924, allocations: 12 kB / 482.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2924, allocations: 4 kB / 482.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.2924, allocations: 7.969 kB / 482.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006888/0.2993, allocations: 4.769 MB / 487.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.2994, allocations: 0 / 487.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/0.3, allocations: 159.8 kB / 487.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002414/0.3024, allocations: 0.8185 MB / 488.6 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.832e-05/0.3025, allocations: 35.98 kB / 488.6 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/0.313, allocations: 10.4 MB / 499 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.313, allocations: 11.95 kB / 499 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004964/0.318, allocations: 3.23 MB / 0.4905 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009998/0.319, allocations: 407.1 kB / 0.4909 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004138/0.3195, allocations: 28 kB / 0.4909 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009121/0.3204, allocations: 71.94 kB / 0.491 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003044/0.3207, allocations: 117.1 kB / 0.4911 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.647e-05/0.3208, allocations: 39.98 kB / 0.4911 GB, free: 10.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001963/0.3228, allocations: 1.044 MB / 0.4921 GB, free: 9.387 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3228, allocations: 0 / 0.4921 GB, free: 9.387 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002021/0.3248, allocations: 0.5156 MB / 0.4926 GB, free: 8.871 MB / 378.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.0005369/0.3254, allocations: 223.9 kB / 0.4929 GB, free: 8.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00359/0.329, allocations: 2.389 MB / 0.4952 GB, free: 6.211 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.329, allocations: 8.312 kB / 0.4952 GB, free: 6.203 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00221/0.3312, allocations: 1.628 MB / 0.4968 GB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.3336, allocations: 492.6 kB / 0.4973 GB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1733/0.5069, allocations: 5.685 MB / 0.5028 GB, free: 92.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/0.5093, allocations: 2.042 MB / 0.5048 GB, free: 91.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001227/0.5106, allocations: 310.6 kB / 0.5051 GB, free: 91.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.5109, allocations: 97.61 kB / 0.5052 GB, free: 91.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5109, allocations: 0 / 0.5052 GB, free: 91.95 MB / 378.7 MB Notification: Performance of Templates: time 0.04173/0.5527, allocations: 30.53 MB / 0.535 GB, free: 68.47 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches