Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 205.3 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 258.2 MB, free: 7.816 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 51.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2453, allocations: 53.35 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008338/0.2536, allocations: 6.151 MB / 438.5 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004877/0.2585, allocations: 2.22 MB / 440.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009058/0.2594, allocations: 63.56 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.2606, allocations: 457 kB / 441.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.2628, allocations: 0.6914 MB / 441.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.2634, allocations: 287.7 kB / 442.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00372/0.2671, allocations: 2.836 MB / 445 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.2691, allocations: 1.379 MB / 446.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.2719, allocations: 1.354 MB / 447.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002639/0.2745, allocations: 1.568 MB / 449.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006032/0.2751, allocations: 352 kB / 449.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009256/0.276, allocations: 439.8 kB / 450.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009207/0.277, allocations: 0.9038 MB / 451 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.2788, allocations: 1.237 MB / 452.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005286/0.2841, allocations: 4.672 MB / 456.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2841, allocations: 0 / 456.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2841, allocations: 0 / 456.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.55e-05/0.2842, allocations: 4 kB / 456.9 MB, free: 14.04 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006436/0.2906, allocations: 2.966 MB / 459.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2907, allocations: 12.03 kB / 459.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.2917, allocations: 347.1 kB / 460.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/0.2951, allocations: 1.619 MB / 461.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.2952, allocations: 164.4 kB / 462 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.2955, allocations: 216 kB / 462.2 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005607/0.3012, allocations: 3.362 MB / 465.6 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/0.3012, allocations: 7.938 kB / 465.6 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.3014, allocations: 91.92 kB / 465.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/0.3015, allocations: 112.4 kB / 465.8 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004611/0.3062, allocations: 2.719 MB / 468.5 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.32, allocations: 7.609 MB / 476.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/0.323, allocations: 1.939 MB / 478.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/0.3249, allocations: 1.234 MB / 479.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.3251, allocations: 53.28 kB / 479.3 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.3252, allocations: 47.81 kB / 479.4 MB, free: 7.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.476e-06/0.3252, allocations: 0 / 479.4 MB, free: 7.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.0109/0.3361, allocations: 5.287 MB / 484.7 MB, free: 1.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.3361, allocations: 64.72 kB / 484.7 MB, free: 1.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/0.3381, allocations: 1.278 MB / 486 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.3382, allocations: 49.7 kB / 486.1 MB, free: 448 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007681/0.339, allocations: 0.9852 MB / 487.1 MB, free: 15.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/0.3394, allocations: 460 kB / 487.5 MB, free: 14.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.3398, allocations: 218.9 kB / 487.7 MB, free: 14.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.34, allocations: 357.9 kB / 488.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.341, allocations: 0.6935 MB / 488.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.3423, allocations: 0.8667 MB / 489.6 MB, free: 12.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/0.3445, allocations: 1.601 MB / 491.2 MB, free: 11.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3445, allocations: 4 kB / 491.2 MB, free: 11.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004053/0.3486, allocations: 2.279 MB / 493.5 MB, free: 8.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3486, allocations: 4 kB / 493.5 MB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3486, allocations: 4 kB / 493.5 MB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002916/0.3515, allocations: 0.815 MB / 494.3 MB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/0.3524, allocations: 207.7 kB / 494.5 MB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.3662, allocations: 10.88 MB / 0.4936 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.3673, allocations: 56.52 kB / 0.4936 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.3675, allocations: 40 kB / 0.4937 GB, free: 12.43 MB / 414.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.001442/0.3689, allocations: 0.8136 MB / 0.4945 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/0.3693, allocations: 155 kB / 0.4946 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/0.3736, allocations: 2.232 MB / 0.4968 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.3736, allocations: 19.94 kB / 0.4968 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.3737, allocations: 7.938 kB / 0.4968 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.3737, allocations: 3.984 kB / 0.4968 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008296/0.382, allocations: 4.153 MB / 0.5009 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.382, allocations: 7.969 kB / 0.5009 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007071/0.3827, allocations: 159.8 kB / 0.501 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002935/0.3856, allocations: 0.8038 MB / 0.5018 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.3857, allocations: 27.98 kB / 0.5018 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01446/0.4002, allocations: 10.76 MB / 0.5123 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.4002, allocations: 4.031 kB / 0.5124 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00559/0.4058, allocations: 3.196 MB / 0.5155 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.4069, allocations: 323 kB / 0.5158 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.4071, allocations: 32 kB / 0.5158 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007636/0.4078, allocations: 71.88 kB / 0.5159 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/0.4081, allocations: 121 kB / 0.516 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.583e-05/0.4082, allocations: 36 kB / 0.516 GB, free: 4.961 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.4096, allocations: 0.8993 MB / 0.5169 GB, free: 4.055 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4096, allocations: 3.938 kB / 0.5169 GB, free: 4.051 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001753/0.4114, allocations: 0.5117 MB / 0.5174 GB, free: 3.539 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.0005088/0.4119, allocations: 211.5 kB / 0.5176 GB, free: 3.332 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003872/0.4157, allocations: 2.35 MB / 0.5199 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.4157, allocations: 0 / 0.5199 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002529/0.4183, allocations: 1.582 MB / 0.5215 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.4202, allocations: 406.8 kB / 0.5218 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008316/0.4285, allocations: 4.685 MB / 0.5264 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/0.4302, allocations: 1.422 MB / 0.5278 GB, free: 8.703 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/0.4306, allocations: 91.42 kB / 0.5279 GB, free: 8.613 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4306, allocations: 0 / 0.5279 GB, free: 8.613 MB / 446.1 MB Notification: Performance of Templates: time 0.2425/0.6731, allocations: 74.89 MB / 0.601 GB, free: 41.12 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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: 12.364464148005936]