Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 101.4 kB / 18.35 MB, free: 4.645 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.001236/0.001236, allocations: 192 kB / 19.29 MB, free: 3.715 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.439/1.439, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.001186/0.001186, allocations: 55.92 kB / 282.1 MB, free: 2.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.08834, allocations: 46.62 MB / 328.7 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0123/0.1007, allocations: 10.66 MB / 339.4 MB, free: 9.062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007503/0.1082, allocations: 3.268 MB / 342.7 MB, free: 5.785 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/0.111, allocations: 71.62 kB / 342.7 MB, free: 5.715 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.1135, allocations: 0.702 MB / 343.4 MB, free: 5.008 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.1179, allocations: 1.134 MB / 344.6 MB, free: 3.867 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.1196, allocations: 495.5 kB / 345.1 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006663/0.1263, allocations: 5.288 MB / 350.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005298/0.1316, allocations: 4.12 MB / 354.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004856/0.1365, allocations: 2.369 MB / 356.8 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004646/0.1412, allocations: 2.759 MB / 359.6 MB, free: 4.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001774/0.143, allocations: 0.6211 MB / 360.2 MB, free: 4.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.1455, allocations: 0.703 MB / 360.9 MB, free: 3.418 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002344/0.1478, allocations: 1.636 MB / 362.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005171/0.153, allocations: 2.762 MB / 365.3 MB, free: 15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.1674, allocations: 8.393 MB / 373.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.1675, allocations: 0 / 373.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1675, allocations: 3.938 kB / 373.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002938/0.1678, allocations: 0 / 373.7 MB, free: 6.582 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.02323/0.1911, allocations: 5.087 MB / 378.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/0.1911, allocations: 8.031 kB / 378.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004405/0.1956, allocations: 0.546 MB / 379.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2224/0.418, allocations: 2.619 MB / 382 MB, free: 48.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005266/0.4186, allocations: 293.6 kB / 382.3 MB, free: 47.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/0.4206, allocations: 383.5 kB / 382.6 MB, free: 47.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/0.4401, allocations: 5.792 MB / 388.4 MB, free: 45.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001642/0.4403, allocations: 1.094 kB / 388.4 MB, free: 45.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001428/0.4417, allocations: 165.5 kB / 388.6 MB, free: 45.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003534/0.4421, allocations: 201.5 kB / 388.8 MB, free: 45.37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01502/0.4571, allocations: 5.023 MB / 393.8 MB, free: 43.35 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03561/0.4928, allocations: 16.18 MB / 410 MB, free: 30.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004578/0.4974, allocations: 6.828 MB / 416.8 MB, free: 22.83 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002704/0.5001, allocations: 2.63 MB / 419.4 MB, free: 20.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.5004, allocations: 155 kB / 419.6 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.5004, allocations: 56.56 kB / 419.6 MB, free: 19.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=249): time 4.058e-06/0.5005, allocations: 0 / 419.6 MB, free: 19.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=256): time 0.01558/0.516, allocations: 10.69 MB / 430.3 MB, free: 9.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.5161, allocations: 85.36 kB / 430.4 MB, free: 8.949 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/0.519, allocations: 2.636 MB / 433.1 MB, free: 6.293 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.5191, allocations: 69.7 kB / 433.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007191/0.5198, allocations: 1.636 MB / 434.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.5203, allocations: 0.8414 MB / 435.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005139/0.5208, allocations: 408.6 kB / 436 MB, free: 3.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.827e-05/0.5208, allocations: 305.1 kB / 436.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.5226, allocations: 1.344 MB / 437.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.5243, allocations: 1.647 MB / 439.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004088/0.5284, allocations: 3.089 MB / 442.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.5285, allocations: 0 / 442.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007178/0.5356, allocations: 4.457 MB / 446.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.5357, allocations: 4 kB / 446.8 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.5357, allocations: 8 kB / 446.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005224/0.5409, allocations: 1.644 MB / 448.5 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.5425, allocations: 383.5 kB / 448.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02668/0.5692, allocations: 25.73 MB / 474.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.5713, allocations: 91.92 kB / 474.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.5715, allocations: 79.98 kB / 474.8 MB, free: 10.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002629/0.5742, allocations: 1.403 MB / 476.2 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005778/0.5748, allocations: 292.5 kB / 476.4 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007155/0.5819, allocations: 4.376 MB / 480.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/0.582, allocations: 31.94 kB / 480.9 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.582, allocations: 12 kB / 480.9 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-05/0.582, allocations: 11.95 kB / 480.9 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.5975, allocations: 8.778 MB / 489.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.5975, allocations: 8 kB / 489.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.5987, allocations: 287.7 kB / 489.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005003/0.6037, allocations: 1.608 MB / 491.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/0.604, allocations: 67.91 kB / 491.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02611/0.6301, allocations: 25.49 MB / 0.505 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6301, allocations: 0 / 0.505 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.6403, allocations: 6.093 MB / 0.5109 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002138/0.6424, allocations: 0.6694 MB / 0.5116 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008884/0.6434, allocations: 52 kB / 0.5116 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/0.6452, allocations: 127.9 kB / 0.5118 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005558/0.6457, allocations: 213.6 kB / 0.512 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/0.6459, allocations: 71.98 kB / 0.512 GB, free: 7.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003349/0.6493, allocations: 1.848 MB / 0.5138 GB, free: 5.727 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6493, allocations: 0 / 0.5138 GB, free: 5.727 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003785/0.6531, allocations: 0.9541 MB / 0.5148 GB, free: 4.773 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006334/0.6537, allocations: 249 kB / 0.515 GB, free: 4.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007314/0.6611, allocations: 4.876 MB / 0.5198 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.6611, allocations: 4.062 kB / 0.5198 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00469/0.6658, allocations: 3.36 MB / 0.5231 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/0.6701, allocations: 0.9521 MB / 0.524 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.6856, allocations: 8.471 MB / 0.5323 GB, free: 2.562 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1951/0.8807, allocations: 3.165 MB / 0.5354 GB, free: 138.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002241/0.883, allocations: 0.5753 MB / 0.5359 GB, free: 138.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006627/0.8837, allocations: 173.7 kB / 0.5361 GB, free: 138.4 MB / 430.1 MB Notification: Performance of SimCode: time 1.272e-06/0.8837, allocations: 0 / 0.5361 GB, free: 138.4 MB / 430.1 MB Notification: Performance of Templates: time 0.09088/0.9746, allocations: 59.1 MB / 0.5938 GB, free: 98.3 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches