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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 111.9 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.389/1.389, allocations: 230.4 MB / 255.4 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,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") [Timeout 660] "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.001897/0.001897, allocations: 63.89 kB / 374.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09986/0.1018, allocations: 53.31 MB / 428.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.1993/0.301, allocations: 10.77 MB / 438.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005943/0.307, allocations: 3.254 MB / 442.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.3086, allocations: 85.91 kB / 442.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.3101, allocations: 0.741 MB / 442.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00294/0.3131, allocations: 1.17 MB / 444.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.3141, allocations: 478.8 kB / 444.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005758/0.3199, allocations: 5.142 MB / 449.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004603/0.3245, allocations: 3.437 MB / 453.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005294/0.3298, allocations: 2.399 MB / 455.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005904/0.3357, allocations: 2.828 MB / 458.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001656/0.3374, allocations: 0.6229 MB / 459 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.3397, allocations: 0.708 MB / 459.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001748/0.3414, allocations: 1.645 MB / 461.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005584/0.347, allocations: 2.771 MB / 464.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.3584, allocations: 8.45 MB / 472.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3584, allocations: 1.781 kB / 472.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3584, allocations: 0 / 472.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003006/0.3587, allocations: 0 / 472.6 MB, free: 2.891 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.01495/0.3736, allocations: 5.239 MB / 477.8 MB, free: 14.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3737, allocations: 12.03 kB / 477.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.3757, allocations: 0.5954 MB / 478.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005582/0.3813, allocations: 2.877 MB / 481.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/0.3816, allocations: 295.8 kB / 481.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008266/0.3824, allocations: 388.6 kB / 482 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.3947, allocations: 5.801 MB / 487.8 MB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.221e-05/0.3947, allocations: 7.875 kB / 487.8 MB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000451/0.3952, allocations: 167.9 kB / 487.9 MB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002596/0.3955, allocations: 208.9 kB / 488.1 MB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.4058, allocations: 5.025 MB / 493.2 MB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03079/0.4366, allocations: 16.22 MB / 0.4975 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00722/0.4438, allocations: 6.604 MB / 0.5039 GB, free: 7.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003671/0.4475, allocations: 2.454 MB / 0.5063 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/0.4478, allocations: 135.1 kB / 0.5064 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.4478, allocations: 60.5 kB / 0.5065 GB, free: 4.949 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 4.157e-06/0.4478, allocations: 0 / 0.5065 GB, free: 4.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.0207/0.4685, allocations: 10.73 MB / 0.517 GB, free: 9.969 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.4686, allocations: 77.42 kB / 0.517 GB, free: 9.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004058/0.4727, allocations: 2.636 MB / 0.5196 GB, free: 7.223 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.4729, allocations: 77.7 kB / 0.5197 GB, free: 7.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001435/0.4743, allocations: 1.679 MB / 0.5213 GB, free: 5.449 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008427/0.4752, allocations: 0.8792 MB / 0.5222 GB, free: 4.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006808/0.4759, allocations: 412.7 kB / 0.5226 GB, free: 4.152 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.476, allocations: 305.1 kB / 0.5229 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/0.4781, allocations: 1.34 MB / 0.5242 GB, free: 2.508 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/0.4804, allocations: 1.654 MB / 0.5258 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004479/0.4849, allocations: 3.079 MB / 0.5288 GB, free: 13.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.4849, allocations: 8 kB / 0.5288 GB, free: 13.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007832/0.4927, allocations: 4.431 MB / 0.5331 GB, free: 9.035 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.4928, allocations: 11.98 kB / 0.5332 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.4928, allocations: 8 kB / 0.5332 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005349/0.4981, allocations: 1.651 MB / 0.5348 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.4997, allocations: 387.5 kB / 0.5351 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02793/0.5277, allocations: 25.74 MB / 0.5603 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.5301, allocations: 95.92 kB / 0.5604 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/0.5304, allocations: 72 kB / 0.5604 GB, free: 11.66 MB / 478.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.00272/0.5331, allocations: 1.422 MB / 0.5618 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008282/0.5339, allocations: 310.1 kB / 0.5621 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008112/0.542, allocations: 4.337 MB / 0.5664 GB, free: 5.492 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.5421, allocations: 28 kB / 0.5664 GB, free: 5.465 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.5421, allocations: 12.41 kB / 0.5664 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.66e-05/0.5421, allocations: 11.95 kB / 0.5664 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/0.5589, allocations: 8.749 MB / 0.575 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.559, allocations: 0 / 0.575 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.5602, allocations: 287.6 kB / 0.5752 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005355/0.5655, allocations: 1.624 MB / 0.5768 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000273/0.5658, allocations: 63.91 kB / 0.5769 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02863/0.5944, allocations: 25.49 MB / 0.6018 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5945, allocations: 480 / 0.6018 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.6048, allocations: 6.073 MB / 0.6077 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/0.607, allocations: 0.6942 MB / 0.6084 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005678/0.6075, allocations: 59.92 kB / 0.6084 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/0.6091, allocations: 119.9 kB / 0.6085 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006102/0.6097, allocations: 213.7 kB / 0.6087 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.6098, allocations: 71.98 kB / 0.6088 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003132/0.613, allocations: 1.852 MB / 0.6106 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.613, allocations: 4 kB / 0.6106 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00448/0.6174, allocations: 0.957 MB / 0.6116 GB, free: 5.527 MB / 0.5137 GB 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.000725/0.6182, allocations: 247.3 kB / 0.6118 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007752/0.6259, allocations: 4.75 MB / 0.6164 GB, free: 396 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.6259, allocations: 1.562 kB / 0.6164 GB, free: 396 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.2079/0.8339, allocations: 3.266 MB / 0.6196 GB, free: 161.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004372/0.8382, allocations: 0.9562 MB / 0.6206 GB, free: 161.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/0.854, allocations: 8.551 MB / 0.6289 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003254/0.8573, allocations: 3.102 MB / 0.6319 GB, free: 158.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007976/0.8581, allocations: 179 kB / 0.6321 GB, free: 158.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.483e-06/0.8581, allocations: 0 / 0.6321 GB, free: 158.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.4112/1.269, allocations: 262.3 MB / 0.8883 GB, free: 124.2 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.198950999882072]