Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00182/0.00182, allocations: 178 kB / 17.36 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007772/0.0007772, allocations: 102.4 kB / 272.1 MB, free: 8.105 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002682, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2258, allocations: 47.59 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.004858/0.2307, allocations: 5.999 MB / 382.6 MB, free: 40.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003606/0.2343, allocations: 2.46 MB / 385.1 MB, free: 38.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005236/0.2349, allocations: 43.81 kB / 385.1 MB, free: 38.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007303/0.2356, allocations: 392 kB / 385.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.2367, allocations: 0.6138 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.2371, allocations: 248.4 kB / 386.3 MB, free: 37.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002793/0.2399, allocations: 3.311 MB / 389.7 MB, free: 35.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.2416, allocations: 2.023 MB / 391.7 MB, free: 33.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.2438, allocations: 1.004 MB / 392.7 MB, free: 32.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.2449, allocations: 1.268 MB / 394 MB, free: 30.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.2451, allocations: 152 kB / 394.1 MB, free: 30.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000497/0.2456, allocations: 247.8 kB / 394.3 MB, free: 30.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004013/0.246, allocations: 0.6617 MB / 395 MB, free: 29.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.2471, allocations: 1.292 MB / 396.3 MB, free: 28.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.2498, allocations: 4.325 MB / 400.6 MB, free: 24.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.2499, allocations: 0 / 400.6 MB, free: 24.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2499, allocations: 0 / 400.6 MB, free: 24.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.669e-05/0.25, allocations: 3.938 kB / 400.6 MB, free: 24.29 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.004093/0.2541, allocations: 2.504 MB / 403.1 MB, free: 21.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2541, allocations: 12.02 kB / 403.1 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006057/0.2547, allocations: 301.7 kB / 403.4 MB, free: 21.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.2566, allocations: 1.507 MB / 404.9 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.104e-05/0.2566, allocations: 160.4 kB / 405.1 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002705/0.2569, allocations: 220 kB / 405.3 MB, free: 19.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004233/0.2612, allocations: 3.167 MB / 408.5 MB, free: 16.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.2612, allocations: 3.938 kB / 408.5 MB, free: 16.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.2614, allocations: 91.98 kB / 408.6 MB, free: 16.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.206e-05/0.2615, allocations: 112.4 kB / 408.7 MB, free: 16.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/0.2651, allocations: 2.723 MB / 411.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/0.2759, allocations: 8.955 MB / 420.4 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.2784, allocations: 3.386 MB / 423.7 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.2803, allocations: 1.335 MB / 425.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002601/0.2805, allocations: 126.4 kB / 425.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.2806, allocations: 55.75 kB / 425.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.577e-06/0.2806, allocations: 0 / 425.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.01095/0.2916, allocations: 5.667 MB / 430.9 MB, free: 9.109 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.2917, allocations: 68.7 kB / 431 MB, free: 9.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/0.2943, allocations: 1.478 MB / 432.5 MB, free: 7.531 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.2946, allocations: 49.64 kB / 432.5 MB, free: 7.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000811/0.2954, allocations: 0.9409 MB / 433.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005351/0.2959, allocations: 441.6 kB / 433.9 MB, free: 6.086 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.2961, allocations: 24 kB / 433.9 MB, free: 6.062 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2962, allocations: 357.9 kB / 434.3 MB, free: 5.707 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.2974, allocations: 0.6974 MB / 435 MB, free: 5.012 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.2987, allocations: 0.8638 MB / 435.8 MB, free: 4.098 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.3011, allocations: 1.613 MB / 437.4 MB, free: 2.434 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.3011, allocations: 4 kB / 437.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004002/0.3051, allocations: 2.306 MB / 439.8 MB, free: 104 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.3052, allocations: 4 kB / 439.8 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.3052, allocations: 8.031 kB / 439.8 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002811/0.308, allocations: 0.8272 MB / 440.6 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008391/0.3089, allocations: 203.7 kB / 440.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.3204, allocations: 10.53 MB / 451.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.3215, allocations: 51.97 kB / 451.4 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.3217, allocations: 48.05 kB / 451.4 MB, free: 3.879 MB / 330.7 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 (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.001589/0.3233, allocations: 0.8145 MB / 452.2 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004396/0.3238, allocations: 162.1 kB / 452.4 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/0.3277, allocations: 2.277 MB / 454.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.3278, allocations: 15.94 kB / 454.7 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.3278, allocations: 8 kB / 454.7 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.3278, allocations: 3.984 kB / 454.7 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007741/0.3356, allocations: 4.758 MB / 459.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.3356, allocations: 4 kB / 459.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006554/0.3363, allocations: 155.8 kB / 459.6 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002488/0.3388, allocations: 0.8191 MB / 460.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-05/0.3389, allocations: 31.98 kB / 460.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.3496, allocations: 10.4 MB / 470.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3497, allocations: 3.938 kB / 470.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005029/0.3547, allocations: 3.242 MB / 474.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008432/0.3556, allocations: 407.2 kB / 474.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003499/0.356, allocations: 31.98 kB / 474.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008875/0.3569, allocations: 71.95 kB / 474.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/0.3572, allocations: 117.1 kB / 474.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-05/0.3573, allocations: 36 kB / 474.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001644/0.3589, allocations: 1.04 MB / 475.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3589, allocations: 0 / 475.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0019/0.3608, allocations: 0.5234 MB / 476.3 MB, free: 10.22 MB / 362.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.0004848/0.3613, allocations: 215 kB / 476.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003621/0.365, allocations: 2.4 MB / 478.9 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.365, allocations: 0 / 478.9 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002441/0.3674, allocations: 1.645 MB / 480.6 MB, free: 5.867 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/0.3701, allocations: 480.7 kB / 481 MB, free: 5.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009191/0.3793, allocations: 5.695 MB / 486.7 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/0.3817, allocations: 2.039 MB / 488.8 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001089/0.3828, allocations: 313.5 kB / 489.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.3832, allocations: 95.42 kB / 489.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3832, allocations: 0 / 489.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of Templates: time 0.1994/0.5826, allocations: 30.57 MB / 0.5076 GB, free: 98.88 MB / 378.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches