Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 184.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 106.2 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007614/0.0007616, allocations: 43.94 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2197, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005865/0.2256, allocations: 6.844 MB / 406.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.229, allocations: 2.247 MB / 408.6 MB, free: 24.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006329/0.2297, allocations: 47.75 kB / 408.6 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008439/0.2306, allocations: 385.8 kB / 409 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.2323, allocations: 0.6141 MB / 409.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.2329, allocations: 231.8 kB / 409.8 MB, free: 22.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002548/0.2354, allocations: 3.25 MB / 413.1 MB, free: 19.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.2373, allocations: 2.166 MB / 415.2 MB, free: 17.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.2399, allocations: 1.111 MB / 416.4 MB, free: 16.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.2415, allocations: 1.475 MB / 417.8 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.2417, allocations: 212 kB / 418 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.2424, allocations: 311.8 kB / 418.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004763/0.2429, allocations: 0.7515 MB / 419.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.2441, allocations: 1.372 MB / 420.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.2468, allocations: 4.455 MB / 424.9 MB, free: 7.789 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2469, allocations: 11.94 kB / 424.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2469, allocations: 0 / 424.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.229e-05/0.247, allocations: 0 / 424.9 MB, free: 7.777 MB / 298.7 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.005995/0.253, allocations: 2.963 MB / 427.9 MB, free: 4.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.253, allocations: 8.031 kB / 427.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006824/0.2537, allocations: 309.6 kB / 428.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.2561, allocations: 1.596 MB / 429.8 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-05/0.2562, allocations: 164.4 kB / 430 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/0.2564, allocations: 212 kB / 430.2 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004217/0.2607, allocations: 3.182 MB / 433.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.2607, allocations: 0 / 433.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/0.2609, allocations: 91.98 kB / 433.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.261, allocations: 108.4 kB / 433.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004157/0.2652, allocations: 2.734 MB / 436.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01379/0.279, allocations: 8.869 MB / 445.2 MB, free: 3.152 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003278/0.2823, allocations: 3.372 MB / 448.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.2841, allocations: 1.339 MB / 449.9 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/0.2844, allocations: 122.4 kB / 450 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.2845, allocations: 55.8 kB / 450 MB, free: 13.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 4.499e-06/0.2845, allocations: 0 / 450 MB, free: 13.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.01007/0.2946, allocations: 5.742 MB / 455.8 MB, free: 8.027 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.2946, allocations: 68.72 kB / 455.8 MB, free: 7.949 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.2968, allocations: 1.494 MB / 457.3 MB, free: 6.438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.2969, allocations: 49.7 kB / 457.4 MB, free: 6.383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006632/0.2975, allocations: 0.937 MB / 458.3 MB, free: 5.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/0.2979, allocations: 437.6 kB / 458.8 MB, free: 5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003456/0.2982, allocations: 230.7 kB / 459 MB, free: 4.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.2984, allocations: 353.9 kB / 459.3 MB, free: 4.414 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.2995, allocations: 0.7013 MB / 460 MB, free: 3.715 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.3007, allocations: 0.859 MB / 460.9 MB, free: 2.809 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/0.3029, allocations: 1.601 MB / 462.5 MB, free: 1.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.303, allocations: 7.938 kB / 462.5 MB, free: 1.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003695/0.3067, allocations: 2.306 MB / 464.8 MB, free: 14.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3067, allocations: 4 kB / 464.8 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.3067, allocations: 7.984 kB / 464.8 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002613/0.3093, allocations: 0.8306 MB / 465.6 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/0.3101, allocations: 199.8 kB / 465.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.3221, allocations: 10.51 MB / 476.3 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.3234, allocations: 60.14 kB / 476.4 MB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/0.3237, allocations: 44 kB / 476.4 MB, free: 2.621 MB / 346.7 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.001812/0.3255, allocations: 0.8135 MB / 477.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000521/0.326, allocations: 162.1 kB / 477.4 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004195/0.3302, allocations: 2.273 MB / 479.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.3303, allocations: 12 kB / 479.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.3303, allocations: 4 kB / 479.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.3303, allocations: 7.969 kB / 479.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008689/0.339, allocations: 4.746 MB / 484.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.3391, allocations: 0 / 484.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000664/0.3397, allocations: 159.8 kB / 484.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00261/0.3424, allocations: 0.82 MB / 485.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.3425, allocations: 31.98 kB / 485.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/0.3548, allocations: 10.39 MB / 495.9 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-06/0.3549, allocations: 4 kB / 495.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.233/0.5879, allocations: 23.35 MB / 0.507 GB, free: 88.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000672/0.5886, allocations: 405 kB / 0.5074 GB, free: 88.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.5887, allocations: 27.91 kB / 0.5075 GB, free: 88.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007482/0.5895, allocations: 63.03 kB / 0.5075 GB, free: 88.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/0.5898, allocations: 120.5 kB / 0.5076 GB, free: 88.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.567e-05/0.5899, allocations: 39.44 kB / 0.5077 GB, free: 88.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001527/0.5914, allocations: 1.05 MB / 0.5087 GB, free: 88.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5914, allocations: 0 / 0.5087 GB, free: 88.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002891/0.5943, allocations: 0.7221 MB / 0.5094 GB, free: 88.23 MB / 378.7 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.0004811/0.5948, allocations: 218.7 kB / 0.5096 GB, free: 88.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003015/0.5978, allocations: 2.383 MB / 0.5119 GB, free: 87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.5979, allocations: 0.8438 kB / 0.5119 GB, free: 87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.5997, allocations: 1.622 MB / 0.5135 GB, free: 86.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.6016, allocations: 484.8 kB / 0.514 GB, free: 86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008297/0.6099, allocations: 7.256 MB / 0.5211 GB, free: 80.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.6113, allocations: 2.089 MB / 0.5231 GB, free: 78.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009449/0.6122, allocations: 315.3 kB / 0.5234 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.6125, allocations: 99.42 kB / 0.5235 GB, free: 78.57 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.6125, allocations: 0 / 0.5235 GB, free: 78.57 MB / 378.7 MB Notification: Performance of Templates: time 0.04706/0.6596, allocations: 36.47 MB / 0.5591 GB, free: 42.53 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches