Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001666/0.001666, allocations: 117.4 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00202/0.00202, allocations: 208.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 227.7 MB / 247.9 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.89 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2531, allocations: 50.54 MB / 410.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01331/0.2664, allocations: 10.75 MB / 421 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007357/0.2737, allocations: 3.252 MB / 424.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.2758, allocations: 83.62 kB / 424.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.2781, allocations: 0.7371 MB / 425.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004286/0.2824, allocations: 1.173 MB / 426.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.2838, allocations: 479.4 kB / 426.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006729/0.2906, allocations: 5.135 MB / 431.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004786/0.2953, allocations: 3.448 MB / 435.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004882/0.3002, allocations: 2.401 MB / 437.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004674/0.3049, allocations: 2.775 MB / 440.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001425/0.3063, allocations: 0.6211 MB / 441.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.3082, allocations: 0.7069 MB / 441.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001724/0.31, allocations: 1.648 MB / 443.4 MB, free: 248 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004639/0.3146, allocations: 2.77 MB / 446.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.3252, allocations: 8.444 MB / 454.7 MB, free: 4.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3253, allocations: 0 / 454.7 MB, free: 4.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3253, allocations: 0 / 454.7 MB, free: 4.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000265/0.3255, allocations: 3.938 kB / 454.7 MB, free: 4.984 MB / 366.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.0134/0.3389, allocations: 5.227 MB / 459.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.339, allocations: 11.97 kB / 459.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.341, allocations: 0.6032 MB / 460.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00606/0.3471, allocations: 2.886 MB / 463.4 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.3474, allocations: 291.8 kB / 463.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.3484, allocations: 380 kB / 464 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/0.3598, allocations: 5.805 MB / 469.9 MB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.819e-05/0.3599, allocations: 11.92 kB / 469.9 MB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000427/0.3603, allocations: 164 kB / 470 MB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002334/0.3605, allocations: 204 kB / 470.2 MB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009615/0.3701, allocations: 5.02 MB / 475.2 MB, free: 144 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02948/0.3996, allocations: 16.23 MB / 491.5 MB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007607/0.4072, allocations: 6.599 MB / 498.1 MB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00401/0.4112, allocations: 2.45 MB / 0.4888 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/0.4115, allocations: 139.1 kB / 0.4889 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.56e-05/0.4116, allocations: 68.48 kB / 0.489 GB, free: 5.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 3.938e-06/0.4116, allocations: 0 / 0.489 GB, free: 5.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02173/0.4333, allocations: 10.72 MB / 0.4995 GB, free: 10.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/0.4334, allocations: 85.42 kB / 0.4995 GB, free: 10.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004276/0.4377, allocations: 2.636 MB / 0.5021 GB, free: 8.074 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002967/0.438, allocations: 69.64 kB / 0.5022 GB, free: 8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.4394, allocations: 1.679 MB / 0.5038 GB, free: 6.305 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008914/0.4403, allocations: 0.887 MB / 0.5047 GB, free: 5.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006999/0.441, allocations: 420.6 kB / 0.5051 GB, free: 4.992 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4412, allocations: 305.1 kB / 0.5054 GB, free: 4.691 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/0.4434, allocations: 1.34 MB / 0.5067 GB, free: 3.348 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/0.4459, allocations: 1.654 MB / 0.5083 GB, free: 1.598 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004775/0.4507, allocations: 3.076 MB / 0.5113 GB, free: 14.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.4507, allocations: 4 kB / 0.5113 GB, free: 14.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008336/0.459, allocations: 4.431 MB / 0.5156 GB, free: 9.883 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.4591, allocations: 8 kB / 0.5156 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.4591, allocations: 8 kB / 0.5157 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005491/0.4646, allocations: 1.655 MB / 0.5173 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/0.4663, allocations: 387.5 kB / 0.5176 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2231/0.6894, allocations: 25.73 MB / 0.5428 GB, free: 117.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.6913, allocations: 96.83 kB / 0.5429 GB, free: 117.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/0.6916, allocations: 78.64 kB / 0.5429 GB, free: 117.7 MB / 462.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.0021/0.6937, allocations: 1.408 MB / 0.5443 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005942/0.6943, allocations: 318.6 kB / 0.5446 GB, free: 117.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006295/0.7006, allocations: 4.353 MB / 0.5489 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.7006, allocations: 23.72 kB / 0.5489 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.7006, allocations: 11.84 kB / 0.5489 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/0.7006, allocations: 22.17 kB / 0.5489 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.7126, allocations: 8.731 MB / 0.5574 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.7126, allocations: 0 / 0.5574 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.7137, allocations: 286.1 kB / 0.5577 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004535/0.7182, allocations: 1.621 MB / 0.5593 GB, free: 112.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/0.7184, allocations: 55.92 kB / 0.5594 GB, free: 112.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/0.7365, allocations: 25.5 MB / 0.5843 GB, free: 85.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7365, allocations: 0 / 0.5843 GB, free: 85.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00761/0.7441, allocations: 6.067 MB / 0.5902 GB, free: 79.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/0.7456, allocations: 0.6962 MB / 0.5909 GB, free: 79.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000422/0.7461, allocations: 51.98 kB / 0.5909 GB, free: 79.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.7474, allocations: 123.9 kB / 0.591 GB, free: 78.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004694/0.7479, allocations: 213.6 kB / 0.5912 GB, free: 78.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.748, allocations: 71.98 kB / 0.5913 GB, free: 78.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002217/0.7502, allocations: 1.852 MB / 0.5931 GB, free: 76.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7502, allocations: 0 / 0.5931 GB, free: 76.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003327/0.7536, allocations: 0.9531 MB / 0.594 GB, free: 75.8 MB / 462.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.0005957/0.7542, allocations: 252 kB / 0.5943 GB, free: 75.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005709/0.7599, allocations: 4.765 MB / 0.5989 GB, free: 70.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.7599, allocations: 0 / 0.5989 GB, free: 70.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003809/0.7637, allocations: 3.266 MB / 0.6021 GB, free: 67.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/0.7674, allocations: 0.9655 MB / 0.6031 GB, free: 66.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.7793, allocations: 8.625 MB / 0.6115 GB, free: 57.69 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002371/0.7817, allocations: 3.173 MB / 0.6146 GB, free: 54.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001652/0.7833, allocations: 0.5753 MB / 0.6151 GB, free: 53.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004818/0.7838, allocations: 167.4 kB / 0.6153 GB, free: 53.73 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.7838, allocations: 0 / 0.6153 GB, free: 53.73 MB / 462.1 MB Notification: Performance of Templates: time 0.08296/0.8667, allocations: 60.42 MB / 0.6743 GB, free: 10.04 MB / 478.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches