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.0009328/0.0009328, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 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.0009523/0.0009523, allocations: 175.8 kB / 25.34 MB, free: 9.441 MB / 18.57 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 0.8602/0.8602, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.731e-05, allocations: 2.312 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006069/0.006087, allocations: 6.763 MB / 257.8 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004126/0.01021, allocations: 2.31 MB / 260.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000829/0.01104, allocations: 55.56 kB / 260.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.01211, allocations: 461.2 kB / 260.6 MB, free: 9.953 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.01362, allocations: 0.7219 MB / 261.4 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.0141, allocations: 295.5 kB / 261.7 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002545/0.01664, allocations: 3.014 MB / 264.7 MB, free: 5.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.01785, allocations: 1.271 MB / 265.9 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/0.02001, allocations: 1.983 MB / 267.9 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.02136, allocations: 1.508 MB / 269.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002933/0.02165, allocations: 352 kB / 269.8 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.02215, allocations: 435.8 kB / 270.2 MB, free: 336 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000525/0.02267, allocations: 0.939 MB / 271.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009927/0.02366, allocations: 1.072 MB / 272.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.02546, allocations: 2.547 MB / 274.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.02547, allocations: 0 / 274.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.02547, allocations: 0 / 274.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.071e-05/0.02549, allocations: 0 / 274.8 MB, free: 11.75 MB / 266.7 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.00294/0.02843, allocations: 3.141 MB / 277.9 MB, free: 8.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.02846, allocations: 11.98 kB / 277.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006066/0.02907, allocations: 0.4951 MB / 278.4 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.03074, allocations: 1.317 MB / 279.7 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/0.03081, allocations: 164.7 kB / 279.9 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.03102, allocations: 223.9 kB / 280.1 MB, free: 6.305 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.03341, allocations: 1.9 MB / 282 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.03344, allocations: 7.938 kB / 282 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.03357, allocations: 88 kB / 282.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.637e-05/0.03365, allocations: 108.4 kB / 282.2 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.03503, allocations: 0.799 MB / 283 MB, free: 3.242 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006342/0.04137, allocations: 6.988 MB / 290 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.04254, allocations: 1.131 MB / 291.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007411/0.04328, allocations: 0.6448 MB / 291.8 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.04343, allocations: 57.28 kB / 291.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.04345, allocations: 46.7 kB / 291.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.184e-06/0.04346, allocations: 0 / 291.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.004314/0.04777, allocations: 3.03 MB / 294.9 MB, free: 7.145 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.04781, allocations: 68.72 kB / 295 MB, free: 7.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008857/0.04869, allocations: 1.079 MB / 296 MB, free: 5.969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/0.04874, allocations: 49.7 kB / 296.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.04918, allocations: 1.05 MB / 297.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.04941, allocations: 484 kB / 297.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.04963, allocations: 236.5 kB / 297.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.04977, allocations: 0.5511 MB / 298.4 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.05007, allocations: 190.5 kB / 298.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.0505, allocations: 448.8 kB / 299 MB, free: 2.883 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007573/0.05126, allocations: 0.6959 MB / 299.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.05126, allocations: 0 / 299.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001642/0.0529, allocations: 1.17 MB / 300.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.05291, allocations: 11.98 kB / 300.9 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.05292, allocations: 4 kB / 300.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.05411, allocations: 0.5566 MB / 301.5 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.0545, allocations: 203.6 kB / 301.7 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1065/0.161, allocations: 10.28 MB / 311.9 MB, free: 43.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007038/0.1617, allocations: 50.86 kB / 312 MB, free: 43.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.1617, allocations: 42.66 kB / 312 MB, free: 43.77 MB / 282.7 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.0005144/0.1623, allocations: 227.2 kB / 312.3 MB, free: 43.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/0.1625, allocations: 198.1 kB / 312.4 MB, free: 43.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.1642, allocations: 1.175 MB / 313.6 MB, free: 43.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.1642, allocations: 13.81 kB / 313.6 MB, free: 43.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.1642, allocations: 5.344 kB / 313.6 MB, free: 43.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.1642, allocations: 14.02 kB / 313.7 MB, free: 43.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/0.1683, allocations: 3.071 MB / 316.7 MB, free: 42.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.1683, allocations: 0.8438 kB / 316.7 MB, free: 42.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.1687, allocations: 156.8 kB / 316.9 MB, free: 42.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.1699, allocations: 0.5545 MB / 317.4 MB, free: 42.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/0.17, allocations: 33.69 kB / 317.5 MB, free: 42.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004708/0.1747, allocations: 10.21 MB / 327.7 MB, free: 33.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1747, allocations: 6.344 kB / 327.7 MB, free: 33.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.1764, allocations: 1.557 MB / 329.2 MB, free: 33.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.1767, allocations: 292.8 kB / 329.5 MB, free: 33.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/0.1768, allocations: 31 kB / 329.6 MB, free: 33.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.1771, allocations: 66.3 kB / 329.6 MB, free: 33.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.1773, allocations: 132 kB / 329.7 MB, free: 33.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/0.1773, allocations: 44.19 kB / 329.8 MB, free: 33.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005123/0.1778, allocations: 0.6592 MB / 330.5 MB, free: 32.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1778, allocations: 0 / 330.5 MB, free: 32.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009969/0.1788, allocations: 0.5084 MB / 331 MB, free: 32.77 MB / 282.7 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.0003452/0.1792, allocations: 210 kB / 331.2 MB, free: 32.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.1806, allocations: 1.711 MB / 332.9 MB, free: 31.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1806, allocations: 0.875 kB / 332.9 MB, free: 31.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009879/0.1816, allocations: 1.421 MB / 334.3 MB, free: 30.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008717/0.1825, allocations: 416.7 kB / 334.7 MB, free: 30.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.1863, allocations: 3.918 MB / 338.6 MB, free: 26.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.1867, allocations: 0.7014 MB / 339.3 MB, free: 26.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003586/0.1871, allocations: 231.8 kB / 339.6 MB, free: 25.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.1872, allocations: 88.48 kB / 339.6 MB, free: 25.77 MB / 282.7 MB Notification: Performance of SimCode: time 8.91e-07/0.1872, allocations: 3.828 kB / 339.6 MB, free: 25.77 MB / 282.7 MB Notification: Performance of Templates: time 0.02762/0.2149, allocations: 30.55 MB / 370.2 MB, free: 11.23 MB / 298.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.535410512704402]