Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001878/0.001878, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002284/0.002284, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.53/1.53, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 67.89 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2509, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009399/0.2603, allocations: 6.94 MB / 439 MB, free: 440 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005151/0.2655, allocations: 2.344 MB / 441.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009849/0.2665, allocations: 47.81 kB / 441.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.2676, allocations: 472.8 kB / 441.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.2694, allocations: 0.6837 MB / 442.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.27, allocations: 283.6 kB / 442.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003374/0.2734, allocations: 2.844 MB / 445.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/0.2755, allocations: 1.367 MB / 447 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.2782, allocations: 1.32 MB / 448.3 MB, free: 7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.2804, allocations: 1.568 MB / 449.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004399/0.2809, allocations: 352 kB / 450.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.2816, allocations: 447.8 kB / 450.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008394/0.2825, allocations: 0.8999 MB / 451.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001692/0.2842, allocations: 1.529 MB / 453.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004852/0.289, allocations: 4.64 MB / 457.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.289, allocations: 8 kB / 457.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.289, allocations: 0 / 457.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.584e-05/0.2891, allocations: 0 / 457.8 MB, free: 13.54 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.005904/0.295, allocations: 3.046 MB / 460.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.295, allocations: 8.031 kB / 460.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.2961, allocations: 351.1 kB / 461.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00432/0.3004, allocations: 1.668 MB / 462.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.3006, allocations: 176.3 kB / 463 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005292/0.3011, allocations: 212 kB / 463.2 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008449/0.3096, allocations: 3.186 MB / 466.4 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.079e-05/0.3097, allocations: 0 / 466.4 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003617/0.31, allocations: 91.98 kB / 466.5 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/0.3102, allocations: 108.4 kB / 466.6 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00566/0.3159, allocations: 2.734 MB / 469.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01535/0.3312, allocations: 8.774 MB / 478.1 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004172/0.3354, allocations: 3.29 MB / 481.4 MB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/0.3375, allocations: 1.226 MB / 482.6 MB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/0.3378, allocations: 126.3 kB / 482.7 MB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.3379, allocations: 59.81 kB / 482.8 MB, free: 3.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.527e-06/0.3379, allocations: 0 / 482.8 MB, free: 3.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01202/0.3499, allocations: 5.766 MB / 488.6 MB, free: 13.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.35, allocations: 64.72 kB / 488.6 MB, free: 13.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/0.3527, allocations: 1.502 MB / 490.1 MB, free: 12.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.3528, allocations: 49.7 kB / 490.2 MB, free: 12.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009814/0.3538, allocations: 0.9627 MB / 491.1 MB, free: 11.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005035/0.3543, allocations: 464 kB / 491.6 MB, free: 10.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.3547, allocations: 230.9 kB / 491.8 MB, free: 10.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3549, allocations: 353.9 kB / 492.2 MB, free: 10.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.356, allocations: 0.6896 MB / 492.9 MB, free: 9.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/0.3573, allocations: 0.863 MB / 493.7 MB, free: 8.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002637/0.3599, allocations: 1.604 MB / 495.3 MB, free: 6.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.36, allocations: 3.938 kB / 495.3 MB, free: 6.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004288/0.3642, allocations: 2.291 MB / 497.6 MB, free: 4.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3643, allocations: 6.656 kB / 497.6 MB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.3643, allocations: 12.02 kB / 497.6 MB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/0.3672, allocations: 0.8305 MB / 498.5 MB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008615/0.3681, allocations: 195.8 kB / 498.7 MB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/0.3828, allocations: 11.49 MB / 0.4982 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.384, allocations: 47.97 kB / 0.4982 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.3841, allocations: 44.06 kB / 0.4983 GB, free: 7.434 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.001433/0.3855, allocations: 0.8213 MB / 0.4991 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/0.3859, allocations: 167 kB / 0.4992 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/0.3901, allocations: 2.253 MB / 0.5014 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.3901, allocations: 15.94 kB / 0.5015 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3902, allocations: 4 kB / 0.5015 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/0.3902, allocations: 7.969 kB / 0.5015 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008383/0.3985, allocations: 4.695 MB / 0.5061 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.3986, allocations: 8.062 kB / 0.5061 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006788/0.3992, allocations: 155.8 kB / 0.5062 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002628/0.4019, allocations: 0.8153 MB / 0.507 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.652e-05/0.402, allocations: 24 kB / 0.507 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/0.4162, allocations: 11.39 MB / 0.5182 GB, free: 2.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.4163, allocations: 7.875 kB / 0.5182 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006191/0.4224, allocations: 3.217 MB / 0.5213 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/0.4236, allocations: 412 kB / 0.5217 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003923/0.424, allocations: 24 kB / 0.5217 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.425, allocations: 71.94 kB / 0.5218 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/0.4253, allocations: 117.1 kB / 0.5219 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.4254, allocations: 32 kB / 0.5219 GB, free: 14.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001931/0.4274, allocations: 1.065 MB / 0.523 GB, free: 13.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4274, allocations: 4 kB / 0.523 GB, free: 13.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002142/0.4295, allocations: 0.5117 MB / 0.5235 GB, free: 12.86 MB / 446.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.0005986/0.4301, allocations: 212.4 kB / 0.5237 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004183/0.4343, allocations: 2.35 MB / 0.526 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4343, allocations: 0 / 0.526 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002644/0.4369, allocations: 1.597 MB / 0.5275 GB, free: 8.605 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.4394, allocations: 0.5096 MB / 0.528 GB, free: 8.105 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009069/0.4484, allocations: 4.741 MB / 0.5327 GB, free: 3.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/0.4508, allocations: 2.039 MB / 0.5346 GB, free: 1.242 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009992/0.4518, allocations: 313.5 kB / 0.5349 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.4521, allocations: 95.42 kB / 0.535 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4521, allocations: 0 / 0.535 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of Templates: time 0.2565/0.7087, allocations: 33.78 MB / 0.568 GB, free: 77.73 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 5.990522481035441]