Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 63.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2067, allocations: 50.56 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006989/0.2138, allocations: 6.871 MB / 416.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.2174, allocations: 2.325 MB / 419.1 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004701/0.2178, allocations: 47.75 kB / 419.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008645/0.2187, allocations: 460.9 kB / 419.6 MB, free: 7.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.22, allocations: 0.6602 MB / 420.3 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.2204, allocations: 271.7 kB / 420.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002349/0.2228, allocations: 2.848 MB / 423.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.2251, allocations: 2.57 MB / 426 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.2271, allocations: 1.33 MB / 427.3 MB, free: 116 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.2287, allocations: 1.537 MB / 428.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003461/0.2291, allocations: 348 kB / 429.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006045/0.2297, allocations: 443.7 kB / 429.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006081/0.2303, allocations: 0.8921 MB / 430.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.2316, allocations: 1.533 MB / 432 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.2351, allocations: 4.624 MB / 436.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2351, allocations: 4 kB / 436.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2352, allocations: 0 / 436.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.471e-05/0.2352, allocations: 0 / 436.7 MB, free: 6.723 MB / 350.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.005094/0.2403, allocations: 2.979 MB / 439.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2404, allocations: 12.03 kB / 439.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008995/0.2413, allocations: 337.6 kB / 440 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/0.2441, allocations: 1.659 MB / 441.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.2442, allocations: 164.4 kB / 441.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002937/0.2445, allocations: 212 kB / 442 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004445/0.249, allocations: 3.182 MB / 445.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.249, allocations: 0 / 445.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.2492, allocations: 91.98 kB / 445.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/0.2493, allocations: 112.4 kB / 445.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003827/0.2531, allocations: 2.73 MB / 448.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.2651, allocations: 8.752 MB / 456.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/0.2682, allocations: 3.391 MB / 460.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.2699, allocations: 1.319 MB / 461.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/0.2701, allocations: 122.3 kB / 461.7 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.208e-05/0.2702, allocations: 51.88 kB / 461.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 2.825e-06/0.2702, allocations: 0 / 461.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.009383/0.2796, allocations: 5.758 MB / 467.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.2796, allocations: 68.72 kB / 467.6 MB, free: 6.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.2814, allocations: 1.495 MB / 469.1 MB, free: 5.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.796e-05/0.2815, allocations: 49.7 kB / 469.1 MB, free: 5.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005783/0.2821, allocations: 0.9409 MB / 470.1 MB, free: 4.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/0.2824, allocations: 441.6 kB / 470.5 MB, free: 3.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003217/0.2827, allocations: 230.8 kB / 470.7 MB, free: 3.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.2828, allocations: 353.9 kB / 471.1 MB, free: 3.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009439/0.2838, allocations: 0.6935 MB / 471.8 MB, free: 2.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.2848, allocations: 0.859 MB / 472.6 MB, free: 1.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.2868, allocations: 1.604 MB / 474.2 MB, free: 104 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2869, allocations: 11.88 kB / 474.2 MB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003349/0.2902, allocations: 2.302 MB / 476.5 MB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2902, allocations: 8 kB / 476.6 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2903, allocations: 0 / 476.6 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002463/0.2927, allocations: 0.8267 MB / 477.4 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/0.2935, allocations: 203.7 kB / 477.6 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.3042, allocations: 11.49 MB / 489.1 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008552/0.3051, allocations: 47.97 kB / 489.1 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.3052, allocations: 40.17 kB / 489.2 MB, free: 0.5898 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.001113/0.3063, allocations: 0.8291 MB / 490 MB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.3066, allocations: 158.1 kB / 490.1 MB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.31, allocations: 2.28 MB / 492.4 MB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.31, allocations: 12 kB / 492.4 MB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-06/0.31, allocations: 4 kB / 492.4 MB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.31, allocations: 7.969 kB / 492.4 MB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006808/0.3168, allocations: 4.707 MB / 497.1 MB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3169, allocations: 0 / 497.1 MB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.3175, allocations: 155.8 kB / 497.3 MB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/0.3198, allocations: 0.8117 MB / 498.1 MB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.96e-05/0.3199, allocations: 31.98 kB / 498.1 MB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/0.3305, allocations: 11.38 MB / 0.4976 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3305, allocations: 3.938 kB / 0.4976 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004447/0.335, allocations: 3.236 MB / 0.5007 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008609/0.3358, allocations: 399.2 kB / 0.5011 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.3361, allocations: 31.94 kB / 0.5012 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000738/0.3368, allocations: 71.88 kB / 0.5012 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.3371, allocations: 117.1 kB / 0.5013 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.3371, allocations: 36 kB / 0.5014 GB, free: 7.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.3385, allocations: 1.068 MB / 0.5024 GB, free: 6.496 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3385, allocations: 0 / 0.5024 GB, free: 6.496 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001497/0.34, allocations: 0.5156 MB / 0.5029 GB, free: 5.98 MB / 430.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.0004386/0.3405, allocations: 207.7 kB / 0.5031 GB, free: 5.777 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.3439, allocations: 2.396 MB / 0.5055 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3439, allocations: 0.875 kB / 0.5055 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002156/0.346, allocations: 1.632 MB / 0.5071 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.348, allocations: 0.5049 MB / 0.5075 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/0.3545, allocations: 4.624 MB / 0.5121 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/0.356, allocations: 1.991 MB / 0.514 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.3563, allocations: 95.44 kB / 0.5141 GB, free: 10.36 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3563, allocations: 4 kB / 0.5141 GB, free: 10.35 MB / 446.1 MB Notification: Performance of Templates: time 0.2527/0.609, allocations: 76.13 MB / 0.5884 GB, free: 85.21 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches