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.0009895/0.0009895, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001047/0.001047, allocations: 158.9 kB / 25.75 MB, free: 8.582 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.8566/0.8566, allocations: 158.6 MB / 187.5 MB, free: 2.906 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.473e-06/1.473e-06, allocations: 0 / 251.1 MB, free: 7.895 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.923e-05, allocations: 9.969 kB / 251.1 MB, free: 7.887 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.01329/0.01331, allocations: 6.737 MB / 257.9 MB, free: 1.109 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009758/0.02307, allocations: 2.302 MB / 260.2 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005879/0.02366, allocations: 51.62 kB / 260.2 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009375/0.0246, allocations: 457.2 kB / 260.7 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00435/0.02895, allocations: 0.7335 MB / 261.4 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.02942, allocations: 291.6 kB / 261.7 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00558/0.035, allocations: 3.018 MB / 264.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.03635, allocations: 1.264 MB / 266 MB, free: 8.922 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005249/0.0416, allocations: 1.989 MB / 267.9 MB, free: 6.945 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.0432, allocations: 1.508 MB / 269.5 MB, free: 5.434 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0034/0.0466, allocations: 348 kB / 269.8 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005719/0.04717, allocations: 431.8 kB / 270.2 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008641/0.04803, allocations: 0.9389 MB / 271.2 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009943/0.04903, allocations: 1.076 MB / 272.2 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004796/0.05382, allocations: 2.555 MB / 274.8 MB, free: 92 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.05383, allocations: 4 kB / 274.8 MB, free: 88 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.05383, allocations: 0 / 274.8 MB, free: 88 kB / 250.7 MB Notification: Performance of Transformations before backend: time 2.621e-05/0.05386, allocations: 0 / 274.8 MB, free: 88 kB / 250.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.005126/0.05898, allocations: 3.133 MB / 277.9 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.05903, allocations: 15.98 kB / 277.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.06004, allocations: 499.1 kB / 278.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.06221, allocations: 1.341 MB / 279.8 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.06235, allocations: 164.7 kB / 279.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003345/0.06268, allocations: 219.9 kB / 280.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003899/0.06658, allocations: 1.904 MB / 282 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/0.06662, allocations: 4 kB / 282 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.06684, allocations: 92 kB / 282.1 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.06697, allocations: 108.4 kB / 282.2 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.06954, allocations: 0.8067 MB / 283 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007634/0.07718, allocations: 6.984 MB / 290 MB, free: 396 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.07865, allocations: 1.131 MB / 291.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.07969, allocations: 0.6525 MB / 291.8 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001932/0.07988, allocations: 49.28 kB / 291.9 MB, free: 14.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.07993, allocations: 54.7 kB / 291.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 4.378e-06/0.07993, allocations: 0 / 291.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.005238/0.08517, allocations: 3.022 MB / 294.9 MB, free: 11.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.08521, allocations: 68.72 kB / 295 MB, free: 11.37 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.08627, allocations: 1.075 MB / 296.1 MB, free: 10.28 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.893e-05/0.08633, allocations: 45.7 kB / 296.1 MB, free: 10.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/0.08682, allocations: 1.054 MB / 297.2 MB, free: 9.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/0.08711, allocations: 484 kB / 297.7 MB, free: 8.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.08735, allocations: 240.5 kB / 297.9 MB, free: 8.441 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.0875, allocations: 0.5472 MB / 298.4 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.08786, allocations: 186.5 kB / 298.6 MB, free: 7.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.08833, allocations: 452.6 kB / 299.1 MB, free: 7.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/0.0892, allocations: 0.692 MB / 299.8 MB, free: 6.434 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.0892, allocations: 0 / 299.8 MB, free: 6.434 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001622/0.09083, allocations: 1.174 MB / 300.9 MB, free: 5.234 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.09084, allocations: 8 kB / 300.9 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.09085, allocations: 4 kB / 300.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.09219, allocations: 0.5605 MB / 301.5 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.09262, allocations: 195.7 kB / 301.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006387/0.099, allocations: 10.29 MB / 312 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.09946, allocations: 51.94 kB / 312 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.09951, allocations: 44 kB / 312.1 MB, free: 9.582 MB / 298.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.0004569/0.09997, allocations: 236.3 kB / 312.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/0.1002, allocations: 195.1 kB / 312.5 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.1018, allocations: 1.181 MB / 313.7 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.1018, allocations: 16 kB / 313.7 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1018, allocations: 4 kB / 313.7 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1018, allocations: 3.984 kB / 313.7 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003911/0.1057, allocations: 3.075 MB / 316.8 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.1057, allocations: 4 kB / 316.8 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.1061, allocations: 151.8 kB / 316.9 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.1074, allocations: 0.5611 MB / 317.5 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-05/0.1074, allocations: 27.98 kB / 317.5 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006013/0.1134, allocations: 10.21 MB / 327.7 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1134, allocations: 0 / 327.7 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.1155, allocations: 1.564 MB / 329.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/0.116, allocations: 291 kB / 329.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.1161, allocations: 32.06 kB / 329.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.1165, allocations: 67.94 kB / 329.7 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.1167, allocations: 125.1 kB / 329.8 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/0.1167, allocations: 36 kB / 329.8 MB, free: 7.152 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006613/0.1174, allocations: 0.6531 MB / 330.5 MB, free: 6.492 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1174, allocations: 0 / 330.5 MB, free: 6.492 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001263/0.1187, allocations: 0.5155 MB / 331 MB, free: 5.977 MB / 314.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.0004352/0.1191, allocations: 201.9 kB / 331.2 MB, free: 5.773 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.1209, allocations: 1.712 MB / 332.9 MB, free: 3.984 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1209, allocations: 0.9375 kB / 332.9 MB, free: 3.984 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.1221, allocations: 1.427 MB / 334.3 MB, free: 2.484 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.1231, allocations: 412.3 kB / 334.7 MB, free: 2.082 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/0.1284, allocations: 3.926 MB / 338.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.129, allocations: 0.6975 MB / 339.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005045/0.1295, allocations: 227.8 kB / 339.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.1297, allocations: 88.48 kB / 339.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1297, allocations: 4 kB / 339.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of Templates: time 0.1171/0.2468, allocations: 29.25 MB / 368.9 MB, free: 91.48 MB / 330.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.5534756728447974]