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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 47.92 kB / 371.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2353, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008891/0.2442, allocations: 6.938 MB / 430.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004722/0.2489, allocations: 2.278 MB / 433.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009851/0.2499, allocations: 59.56 kB / 433.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.2512, allocations: 480.6 kB / 433.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.2533, allocations: 0.6992 MB / 434.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006361/0.2539, allocations: 271.6 kB / 434.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003564/0.2575, allocations: 2.832 MB / 437.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.2595, allocations: 1.371 MB / 438.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002755/0.2623, allocations: 1.341 MB / 440.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002644/0.2649, allocations: 1.568 MB / 441.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006417/0.2656, allocations: 348 kB / 442 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.2666, allocations: 439.8 kB / 442.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009307/0.2675, allocations: 0.8999 MB / 443.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002071/0.2696, allocations: 1.529 MB / 444.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005347/0.275, allocations: 4.637 MB / 449.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.275, allocations: 0 / 449.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.275, allocations: 4 kB / 449.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001001/0.2751, allocations: 0 / 449.5 MB, free: 4.891 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.006523/0.2816, allocations: 2.963 MB / 452.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2816, allocations: 8.031 kB / 452.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008359/0.2825, allocations: 323.1 kB / 452.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003371/0.2858, allocations: 1.599 MB / 454.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.286, allocations: 164.4 kB / 454.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004091/0.2864, allocations: 219.9 kB / 454.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005587/0.292, allocations: 3.186 MB / 458 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/0.292, allocations: 0 / 458 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002156/0.2922, allocations: 91.98 kB / 458.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/0.2924, allocations: 108.4 kB / 458.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005188/0.2975, allocations: 2.73 MB / 460.9 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01608/0.3136, allocations: 8.695 MB / 469.6 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/0.3167, allocations: 1.935 MB / 471.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002041/0.3187, allocations: 1.219 MB / 472.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.319, allocations: 65.19 kB / 472.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.319, allocations: 47.88 kB / 472.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.156e-06/0.319, allocations: 0 / 472.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01127/0.3303, allocations: 5.306 MB / 478.2 MB, free: 7.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.3303, allocations: 64.72 kB / 478.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.3327, allocations: 1.49 MB / 479.7 MB, free: 6.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.3328, allocations: 49.7 kB / 479.8 MB, free: 6.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008066/0.3336, allocations: 0.9588 MB / 480.7 MB, free: 5.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004572/0.3341, allocations: 468 kB / 481.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/0.3345, allocations: 218.9 kB / 481.4 MB, free: 4.559 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3346, allocations: 361.9 kB / 481.8 MB, free: 4.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.3358, allocations: 0.6935 MB / 482.5 MB, free: 3.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.337, allocations: 0.8629 MB / 483.3 MB, free: 2.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/0.3395, allocations: 1.597 MB / 484.9 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3395, allocations: 11.88 kB / 484.9 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004179/0.3437, allocations: 2.287 MB / 487.2 MB, free: 14.63 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3437, allocations: 4 kB / 487.2 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.3438, allocations: 4 kB / 487.2 MB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/0.3466, allocations: 0.8306 MB / 488.1 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000859/0.3475, allocations: 199.8 kB / 488.3 MB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.3608, allocations: 11.08 MB / 499.3 MB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.3619, allocations: 51.95 kB / 499.4 MB, free: 2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.362, allocations: 44 kB / 499.4 MB, free: 1.957 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.001328/0.3633, allocations: 0.8242 MB / 0.4885 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.3637, allocations: 175 kB / 0.4887 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004143/0.3678, allocations: 2.253 MB / 0.4909 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.3678, allocations: 12 kB / 0.4909 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3678, allocations: 4 kB / 0.4909 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.3678, allocations: 7.969 kB / 0.4909 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008489/0.3763, allocations: 4.679 MB / 0.4955 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3763, allocations: 0 / 0.4955 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007153/0.377, allocations: 159.8 kB / 0.4956 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002745/0.3798, allocations: 0.8156 MB / 0.4964 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.3799, allocations: 28 kB / 0.4965 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/0.3931, allocations: 10.97 MB / 0.5072 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.3931, allocations: 3.938 kB / 0.5072 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005401/0.3985, allocations: 3.217 MB / 0.5103 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.3995, allocations: 350.8 kB / 0.5107 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.3997, allocations: 31.98 kB / 0.5107 GB, free: 9.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000778/0.4005, allocations: 67.94 kB / 0.5108 GB, free: 9.734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/0.4008, allocations: 121 kB / 0.5109 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/0.4009, allocations: 32 kB / 0.5109 GB, free: 9.582 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00155/0.4024, allocations: 1.06 MB / 0.5119 GB, free: 8.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4024, allocations: 0 / 0.5119 GB, free: 8.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001743/0.4042, allocations: 0.5078 MB / 0.5124 GB, free: 8.012 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.0004879/0.4047, allocations: 214.6 kB / 0.5126 GB, free: 7.805 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003862/0.4085, allocations: 2.345 MB / 0.5149 GB, free: 5.406 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4085, allocations: 3.938 kB / 0.5149 GB, free: 5.402 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00284/0.4114, allocations: 1.59 MB / 0.5165 GB, free: 3.766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.4138, allocations: 0.4942 MB / 0.517 GB, free: 3.273 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008365/0.4222, allocations: 4.722 MB / 0.5216 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/0.424, allocations: 1.987 MB / 0.5235 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/0.4245, allocations: 95.42 kB / 0.5236 GB, free: 12.38 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/0.4245, allocations: 3.938 kB / 0.5236 GB, free: 12.38 MB / 446.1 MB Notification: Performance of Templates: time 0.2478/0.6722, allocations: 75.72 MB / 0.5976 GB, free: 52.48 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.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: 13.564591645030305]