Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 199.9 kB / 17.43 MB, free: 4.242 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007677/0.0007681, allocations: 100.3 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002064/0.0002065, allocations: 4 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1907, allocations: 51.41 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.004658/0.1954, allocations: 6.049 MB / 418.1 MB, free: 19.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.1986, allocations: 2.673 MB / 420.8 MB, free: 17.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000591/0.1993, allocations: 39.81 kB / 420.8 MB, free: 17.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007727/0.2, allocations: 385.8 kB / 421.2 MB, free: 16.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.2012, allocations: 0.6257 MB / 421.8 MB, free: 16.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.2016, allocations: 223.8 kB / 422 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001972/0.2036, allocations: 3.234 MB / 425.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/0.2053, allocations: 2.138 MB / 427.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.2071, allocations: 0.9841 MB / 428.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000962/0.2081, allocations: 1.268 MB / 429.7 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.2083, allocations: 148 kB / 429.8 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.2088, allocations: 247.8 kB / 430 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003598/0.2092, allocations: 0.6539 MB / 430.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008321/0.21, allocations: 1.288 MB / 432 MB, free: 5.758 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.2121, allocations: 4.317 MB / 436.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2121, allocations: 0 / 436.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2122, allocations: 0 / 436.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.752e-05/0.2122, allocations: 4 kB / 436.3 MB, free: 1.422 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.00353/0.2157, allocations: 2.531 MB / 438.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2158, allocations: 8.031 kB / 438.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008409/0.2166, allocations: 345.6 kB / 439.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.2187, allocations: 1.592 MB / 440.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.2188, allocations: 164.4 kB / 440.9 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002833/0.2191, allocations: 212 kB / 441.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004416/0.2235, allocations: 3.167 MB / 444.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.2236, allocations: 4 kB / 444.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.2238, allocations: 88 kB / 444.4 MB, free: 9.113 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.802e-05/0.2239, allocations: 116.4 kB / 444.5 MB, free: 8.996 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003889/0.2278, allocations: 2.726 MB / 447.2 MB, free: 6.254 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.2391, allocations: 8.951 MB / 456.2 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002963/0.2421, allocations: 3.379 MB / 459.6 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.2439, allocations: 1.347 MB / 460.9 MB, free: 8.086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/0.2441, allocations: 122.4 kB / 461 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.2441, allocations: 55.81 kB / 461.1 MB, free: 7.883 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.846e-06/0.2442, allocations: 0 / 461.1 MB, free: 7.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.009456/0.2536, allocations: 5.789 MB / 466.9 MB, free: 1.945 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.2537, allocations: 72.72 kB / 466.9 MB, free: 1.863 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.2554, allocations: 1.478 MB / 468.4 MB, free: 376 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.2555, allocations: 45.7 kB / 468.5 MB, free: 324 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/0.256, allocations: 0.9409 MB / 469.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/0.2563, allocations: 445.5 kB / 469.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.2564, allocations: 24 kB / 469.9 MB, free: 14.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2565, allocations: 357.9 kB / 470.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009529/0.2575, allocations: 0.6935 MB / 470.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.2585, allocations: 0.8668 MB / 471.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.2606, allocations: 1.597 MB / 473.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2606, allocations: 4 kB / 473.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003284/0.2639, allocations: 2.31 MB / 475.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2639, allocations: 8 kB / 475.7 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.2639, allocations: 4 kB / 475.7 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002551/0.2665, allocations: 0.8266 MB / 476.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.2672, allocations: 215.7 kB / 476.7 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.2774, allocations: 10.52 MB / 487.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008829/0.2783, allocations: 55.97 kB / 487.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/0.2784, allocations: 40 kB / 487.4 MB, free: 12.75 MB / 362.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.001167/0.2795, allocations: 0.8253 MB / 488.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.2798, allocations: 158.1 kB / 488.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.2832, allocations: 2.269 MB / 490.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.2832, allocations: 15.94 kB / 490.6 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.2832, allocations: 11.98 kB / 490.6 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.2832, allocations: 7.984 kB / 490.6 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006722/0.29, allocations: 4.758 MB / 495.4 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.29, allocations: 4 kB / 495.4 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/0.2907, allocations: 159.8 kB / 495.6 MB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002608/0.2933, allocations: 0.8074 MB / 496.4 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/0.2934, allocations: 35.98 kB / 496.4 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/0.3039, allocations: 10.41 MB / 0.4949 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.304, allocations: 4.031 kB / 0.4949 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004836/0.3088, allocations: 3.23 MB / 0.4981 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.3098, allocations: 403.1 kB / 0.4985 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002946/0.3102, allocations: 28 kB / 0.4985 GB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007967/0.311, allocations: 71.94 kB / 0.4986 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/0.3113, allocations: 117.5 kB / 0.4987 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.124e-05/0.3113, allocations: 32 kB / 0.4987 GB, free: 4.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001542/0.3129, allocations: 1.052 MB / 0.4997 GB, free: 3.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3129, allocations: 0 / 0.4997 GB, free: 3.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001651/0.3146, allocations: 0.5195 MB / 0.5002 GB, free: 3.098 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.0004967/0.3151, allocations: 218.1 kB / 0.5004 GB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00364/0.3187, allocations: 2.405 MB / 0.5028 GB, free: 436 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3187, allocations: 0 / 0.5028 GB, free: 436 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1679/0.4867, allocations: 1.625 MB / 0.5044 GB, free: 90.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.4893, allocations: 480 kB / 0.5048 GB, free: 90.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00807/0.4974, allocations: 5.682 MB / 0.5104 GB, free: 87.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.4989, allocations: 2.049 MB / 0.5124 GB, free: 86.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001134/0.5001, allocations: 308.6 kB / 0.5127 GB, free: 86.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.5004, allocations: 94.72 kB / 0.5128 GB, free: 86.94 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5004, allocations: 0 / 0.5128 GB, free: 86.94 MB / 378.7 MB Notification: Performance of Templates: time 0.04176/0.5422, allocations: 30.55 MB / 0.5426 GB, free: 60.7 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches