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.001278/0.001278, allocations: 107.9 kB / 18.4 MB, free: 4.656 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.001217/0.001217, allocations: 190.5 kB / 19.33 MB, free: 3.738 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.213/1.213, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001148/0.001148, allocations: 47.94 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07389/0.07505, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.1521/0.2272, allocations: 6.803 MB / 382.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.2305, allocations: 2.35 MB / 385 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004644/0.231, allocations: 39.12 kB / 385 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008727/0.2319, allocations: 452.4 kB / 385.5 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.2331, allocations: 0.6712 MB / 386.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.2335, allocations: 277.6 kB / 386.4 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00216/0.2357, allocations: 2.915 MB / 389.3 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.2378, allocations: 2.45 MB / 391.8 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.2398, allocations: 1.313 MB / 393.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.2414, allocations: 1.53 MB / 394.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004246/0.2419, allocations: 349 kB / 395 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007373/0.2426, allocations: 433.8 kB / 395.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005795/0.2432, allocations: 0.8904 MB / 396.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.2444, allocations: 1.529 MB / 397.8 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003632/0.2481, allocations: 4.616 MB / 402.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.2481, allocations: 3.938 kB / 402.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2481, allocations: 1.094 kB / 402.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.419e-05/0.2482, allocations: 0 / 402.4 MB, free: 0.5078 MB / 318.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.004934/0.2531, allocations: 2.947 MB / 405.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2532, allocations: 9.656 kB / 405.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007393/0.2539, allocations: 308 kB / 405.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.2561, allocations: 1.523 MB / 407.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.2562, allocations: 164.9 kB / 407.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/0.2565, allocations: 213.1 kB / 407.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004725/0.2612, allocations: 3.18 MB / 410.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.2613, allocations: 2.219 kB / 410.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002/0.2615, allocations: 86.75 kB / 410.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.2616, allocations: 108.7 kB / 410.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004065/0.2657, allocations: 2.732 MB / 413.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/0.2781, allocations: 8.771 MB / 422.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.2813, allocations: 3.382 MB / 425.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.2831, allocations: 1.327 MB / 427.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002388/0.2834, allocations: 126.4 kB / 427.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.2834, allocations: 55.81 kB / 427.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.206e-06/0.2834, allocations: 0 / 427.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.009938/0.2934, allocations: 5.633 MB / 433 MB, free: 5.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.2934, allocations: 64.72 kB / 433 MB, free: 5.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.2956, allocations: 1.49 MB / 434.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.2957, allocations: 53.7 kB / 434.6 MB, free: 3.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006165/0.2963, allocations: 0.9409 MB / 435.5 MB, free: 2.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.2967, allocations: 449.5 kB / 435.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/0.297, allocations: 214.9 kB / 436.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2972, allocations: 353.9 kB / 436.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009725/0.2982, allocations: 0.7013 MB / 437.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.2992, allocations: 0.8714 MB / 438.1 MB, free: 328 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.3013, allocations: 1.609 MB / 439.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3013, allocations: 4 kB / 439.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003501/0.3048, allocations: 2.306 MB / 442 MB, free: 12.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3049, allocations: 8 kB / 442 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3049, allocations: 4 kB / 442 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/0.3073, allocations: 0.8189 MB / 442.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/0.3081, allocations: 207.7 kB / 443 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.3191, allocations: 11.51 MB / 454.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.3202, allocations: 51.95 kB / 454.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-05/0.3203, allocations: 36 kB / 454.6 MB, free: 15.12 MB / 382.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.001216/0.3215, allocations: 0.8252 MB / 455.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/0.3219, allocations: 162.2 kB / 455.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003551/0.3254, allocations: 2.261 MB / 457.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.3254, allocations: 12 kB / 457.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.3255, allocations: 12 kB / 457.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.3255, allocations: 7.969 kB / 457.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006923/0.3324, allocations: 4.711 MB / 462.6 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3324, allocations: 4.062 kB / 462.6 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.333, allocations: 163.9 kB / 462.8 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/0.3354, allocations: 0.8038 MB / 463.6 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-05/0.3354, allocations: 35.92 kB / 463.6 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.3463, allocations: 11.37 MB / 475 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3463, allocations: 4.125 kB / 475 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/0.3508, allocations: 3.243 MB / 478.2 MB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007879/0.3516, allocations: 407.1 kB / 478.6 MB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/0.352, allocations: 27.98 kB / 478.7 MB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008694/0.3528, allocations: 67.95 kB / 478.7 MB, free: 6.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/0.3531, allocations: 113.1 kB / 478.8 MB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/0.3532, allocations: 39.92 kB / 478.9 MB, free: 6.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001567/0.3548, allocations: 1.056 MB / 479.9 MB, free: 5.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3548, allocations: 0 / 479.9 MB, free: 5.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001762/0.3565, allocations: 0.5195 MB / 480.4 MB, free: 4.531 MB / 398.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.0004501/0.357, allocations: 210.4 kB / 480.7 MB, free: 4.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003374/0.3604, allocations: 2.409 MB / 483.1 MB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3604, allocations: 0 / 483.1 MB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002202/0.3626, allocations: 1.64 MB / 484.7 MB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.3648, allocations: 0.5079 MB / 485.2 MB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007387/0.3722, allocations: 4.608 MB / 489.8 MB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/0.3739, allocations: 1.983 MB / 491.8 MB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.3742, allocations: 107.4 kB / 491.9 MB, free: 8.871 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3742, allocations: 0 / 491.9 MB, free: 8.871 MB / 414.1 MB Notification: Performance of Templates: time 0.2201/0.5943, allocations: 75.62 MB / 0.5542 GB, free: 156.5 MB / 478.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 -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