Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00171/0.00171, allocations: 102 kB / 21.93 MB, free: 5.203 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.001754/0.001754, allocations: 202.2 kB / 25.22 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 207.7 MB / 236.1 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 51.92 kB / 348.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2527, allocations: 49.15 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.00664/0.2593, allocations: 6.074 MB / 403.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004293/0.2636, allocations: 2.247 MB / 405.9 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.2646, allocations: 58.97 kB / 406 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.2658, allocations: 450.3 kB / 406.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.2677, allocations: 0.6985 MB / 407.1 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.2683, allocations: 283.3 kB / 407.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003428/0.2718, allocations: 2.915 MB / 410.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.2735, allocations: 1.25 MB / 411.6 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.2764, allocations: 1.347 MB / 412.9 MB, free: 100 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003236/0.2796, allocations: 1.537 MB / 414.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006522/0.2803, allocations: 348.2 kB / 414.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.2815, allocations: 430.6 kB / 415.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.2827, allocations: 0.9012 MB / 416.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002059/0.2847, allocations: 1.237 MB / 417.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005799/0.2905, allocations: 4.648 MB / 422 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2905, allocations: 0 / 422 MB, free: 10.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2905, allocations: 0 / 422 MB, free: 10.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001347/0.2907, allocations: 0 / 422 MB, free: 10.18 MB / 334.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.007295/0.2979, allocations: 2.952 MB / 425 MB, free: 7.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.298, allocations: 8.031 kB / 425 MB, free: 7.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008969/0.2989, allocations: 327.1 kB / 425.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.3021, allocations: 1.482 MB / 426.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.3023, allocations: 164.4 kB / 426.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003769/0.3027, allocations: 212 kB / 427.1 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006015/0.3087, allocations: 3.35 MB / 430.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.681e-05/0.3087, allocations: 3.938 kB / 430.5 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.309, allocations: 88 kB / 430.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.3091, allocations: 112.4 kB / 430.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005097/0.3142, allocations: 2.723 MB / 433.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/0.3301, allocations: 7.64 MB / 441 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/0.3333, allocations: 1.93 MB / 443 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/0.3354, allocations: 1.234 MB / 444.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.3357, allocations: 45.28 kB / 444.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.3357, allocations: 55.8 kB / 444.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.907e-06/0.3357, allocations: 0 / 444.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01168/0.3474, allocations: 5.244 MB / 449.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.3475, allocations: 64.72 kB / 449.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.3496, allocations: 1.274 MB / 450.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.3497, allocations: 45.7 kB / 450.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008444/0.3506, allocations: 0.9733 MB / 451.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/0.351, allocations: 472 kB / 452.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.3514, allocations: 222.9 kB / 452.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3516, allocations: 353.9 kB / 452.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.3528, allocations: 0.6974 MB / 453.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.3541, allocations: 0.8754 MB / 454.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/0.3566, allocations: 1.605 MB / 456.1 MB, free: 8.004 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3566, allocations: 0 / 456.1 MB, free: 8.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004228/0.3609, allocations: 2.279 MB / 458.4 MB, free: 5.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3609, allocations: 8 kB / 458.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.3609, allocations: 15.95 kB / 458.4 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002744/0.3636, allocations: 0.815 MB / 459.2 MB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.3645, allocations: 207.7 kB / 459.4 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/0.3777, allocations: 10.88 MB / 470.3 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009815/0.3787, allocations: 59.84 kB / 470.4 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-05/0.3788, allocations: 44 kB / 470.4 MB, free: 9.266 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.001366/0.3801, allocations: 0.8098 MB / 471.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/0.3804, allocations: 147.1 kB / 471.4 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/0.3844, allocations: 2.236 MB / 473.6 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.3844, allocations: 16 kB / 473.6 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3844, allocations: 7.938 kB / 473.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.3844, allocations: 7.969 kB / 473.6 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007576/0.392, allocations: 4.149 MB / 477.8 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.392, allocations: 7.938 kB / 477.8 MB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/0.3927, allocations: 151.8 kB / 477.9 MB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002502/0.3952, allocations: 0.8194 MB / 478.7 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.3953, allocations: 31.98 kB / 478.8 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/0.4082, allocations: 10.77 MB / 489.5 MB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.4082, allocations: 4.031 kB / 489.5 MB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005248/0.4134, allocations: 3.2 MB / 492.7 MB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.4145, allocations: 319 kB / 493.1 MB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.4147, allocations: 24 kB / 493.1 MB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007328/0.4154, allocations: 79.88 kB / 493.2 MB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/0.4157, allocations: 121 kB / 493.3 MB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.4158, allocations: 35.98 kB / 493.3 MB, free: 1.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001407/0.4172, allocations: 0.8952 MB / 494.2 MB, free: 0.8828 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4172, allocations: 0 / 494.2 MB, free: 0.8828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001862/0.4191, allocations: 0.5117 MB / 494.7 MB, free: 380 kB / 398.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.0004919/0.4195, allocations: 210.9 kB / 494.9 MB, free: 160 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003887/0.4234, allocations: 2.35 MB / 497.3 MB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4234, allocations: 0 / 497.3 MB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002561/0.426, allocations: 1.594 MB / 498.9 MB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.428, allocations: 404.2 kB / 499.3 MB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008533/0.4365, allocations: 4.668 MB / 0.4921 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/0.4383, allocations: 1.421 MB / 0.4935 GB, free: 5.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.4387, allocations: 91.42 kB / 0.4936 GB, free: 5.434 MB / 414.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4387, allocations: 0 / 0.4936 GB, free: 5.434 MB / 414.1 MB Notification: Performance of Templates: time 0.2698/0.7085, allocations: 74.65 MB / 0.5665 GB, free: 151.1 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.315284749027342]