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.00165/0.00165, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001819/0.001819, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.407/1.407, allocations: 207.6 MB / 236 MB, free: 10.87 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.001848/0.001848, allocations: 55.91 kB / 348.5 MB, free: 9.629 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2435, allocations: 49.16 MB / 397.6 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006337/0.2499, allocations: 6.864 MB / 404.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003727/0.2536, allocations: 2.366 MB / 406.8 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006476/0.2542, allocations: 54.72 kB / 406.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.2553, allocations: 472.1 kB / 407.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.2569, allocations: 0.6926 MB / 408.1 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.2574, allocations: 286.3 kB / 408.3 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00265/0.2601, allocations: 2.92 MB / 411.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.2616, allocations: 1.289 MB / 412.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/0.2642, allocations: 1.359 MB / 413.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002436/0.2667, allocations: 1.563 MB / 415.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004685/0.2671, allocations: 347.6 kB / 415.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008652/0.268, allocations: 432.8 kB / 416.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008231/0.2688, allocations: 0.9047 MB / 417.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00206/0.2709, allocations: 1.525 MB / 418.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00557/0.2764, allocations: 4.626 MB / 423.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2765, allocations: 3.938 kB / 423.3 MB, free: 8.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2765, allocations: 0 / 423.3 MB, free: 8.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001352/0.2766, allocations: 1.312 kB / 423.3 MB, free: 8.969 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.008346/0.2849, allocations: 2.948 MB / 426.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.285, allocations: 15.97 kB / 426.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.2861, allocations: 319.1 kB / 426.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003313/0.2894, allocations: 1.475 MB / 428 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.2895, allocations: 160.4 kB / 428.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/0.2899, allocations: 220 kB / 428.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006436/0.2963, allocations: 3.171 MB / 431.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.2964, allocations: 3.938 kB / 431.6 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.2966, allocations: 91.98 kB / 431.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/0.2967, allocations: 108.4 kB / 431.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004694/0.3014, allocations: 2.727 MB / 434.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01486/0.3163, allocations: 8.726 MB / 443.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.3192, allocations: 1.933 MB / 445.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.3211, allocations: 1.23 MB / 446.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.3213, allocations: 53.22 kB / 446.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.3213, allocations: 43.88 kB / 446.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 2.715e-06/0.3213, allocations: 0 / 446.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01067/0.332, allocations: 5.267 MB / 451.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.3321, allocations: 68.66 kB / 451.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.3343, allocations: 1.502 MB / 453.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.3344, allocations: 45.7 kB / 453.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008034/0.3352, allocations: 0.9588 MB / 454.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/0.3356, allocations: 468 kB / 454.8 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/0.3359, allocations: 222.8 kB / 455 MB, free: 9.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3361, allocations: 361.9 kB / 455.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.3372, allocations: 0.6896 MB / 456 MB, free: 8.375 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.3385, allocations: 0.8754 MB / 456.9 MB, free: 7.449 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.3408, allocations: 1.605 MB / 458.5 MB, free: 5.793 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.3408, allocations: 3.938 kB / 458.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00396/0.3447, allocations: 2.299 MB / 460.8 MB, free: 3.469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3448, allocations: 4 kB / 460.8 MB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3448, allocations: 4 kB / 460.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/0.3475, allocations: 0.8267 MB / 461.7 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008035/0.3483, allocations: 199.7 kB / 461.9 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/0.3614, allocations: 11.09 MB / 473 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.3625, allocations: 55.95 kB / 473 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.767e-05/0.3626, allocations: 40 kB / 473 MB, free: 6.785 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.001367/0.364, allocations: 0.8175 MB / 473.9 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/0.3643, allocations: 167 kB / 474 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/0.3684, allocations: 2.249 MB / 476.3 MB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3684, allocations: 12 kB / 476.3 MB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3684, allocations: 8 kB / 476.3 MB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.3684, allocations: 7.969 kB / 476.3 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008045/0.3764, allocations: 4.683 MB / 481 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.3765, allocations: 4 kB / 481 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/0.3771, allocations: 167.8 kB / 481.2 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002569/0.3797, allocations: 0.8118 MB / 482 MB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/0.3798, allocations: 32 kB / 482 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/0.3925, allocations: 10.97 MB / 493 MB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.3925, allocations: 4.031 kB / 493 MB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005219/0.3977, allocations: 3.224 MB / 496.2 MB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.3988, allocations: 346.9 kB / 496.5 MB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/0.399, allocations: 28 kB / 496.6 MB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007561/0.3998, allocations: 67.94 kB / 496.6 MB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.4, allocations: 117.1 kB / 496.7 MB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.969e-05/0.4001, allocations: 32 kB / 496.8 MB, free: 14.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001595/0.4017, allocations: 1.068 MB / 497.8 MB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4017, allocations: 4 kB / 497.8 MB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001799/0.4035, allocations: 0.5117 MB / 498.4 MB, free: 12.82 MB / 414.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.0005082/0.404, allocations: 190.9 kB / 498.5 MB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003771/0.4078, allocations: 2.354 MB / 0.4892 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4078, allocations: 4.25 kB / 0.4892 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002446/0.4102, allocations: 1.601 MB / 0.4907 GB, free: 8.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.4124, allocations: 0.5004 MB / 0.4912 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008279/0.4207, allocations: 4.695 MB / 0.4958 GB, free: 3.312 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/0.4225, allocations: 1.991 MB / 0.4977 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/0.4229, allocations: 103.4 kB / 0.4978 GB, free: 1.188 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4229, allocations: 0 / 0.4978 GB, free: 1.188 MB / 414.1 MB Notification: Performance of Templates: time 0.3008/0.7237, allocations: 75.75 MB / 0.5718 GB, free: 150.4 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: 13.3584159379825]