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.002119/0.002119, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.002578/0.002578, allocations: 157.9 kB / 25.02 MB, free: 8.965 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 1.497/1.497, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 250.4 MB, free: 7.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.572e-05, allocations: 2.312 kB / 250.4 MB, free: 7.906 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009492/0.009517, allocations: 6.082 MB / 256.5 MB, free: 1.789 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005238/0.01476, allocations: 2.248 MB / 258.7 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.01611, allocations: 55.56 kB / 258.8 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.01772, allocations: 456.9 kB / 259.2 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.02024, allocations: 0.718 MB / 259.9 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000897/0.02114, allocations: 291.6 kB / 260.2 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004314/0.02545, allocations: 3.018 MB / 263.2 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.02799, allocations: 1.26 MB / 264.5 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004889/0.03288, allocations: 1.958 MB / 266.4 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.03597, allocations: 1.391 MB / 267.8 MB, free: 6.332 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009051/0.03687, allocations: 352 kB / 268.2 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.03836, allocations: 431.8 kB / 268.6 MB, free: 5.566 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001398/0.03976, allocations: 0.9271 MB / 269.5 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002469/0.04223, allocations: 1.064 MB / 270.6 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007179/0.04941, allocations: 4.694 MB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.04942, allocations: 0 / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.04942, allocations: 0 / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001972/0.04962, allocations: 0 / 275.3 MB, free: 14.86 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.008365/0.05798, allocations: 2.92 MB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.05804, allocations: 8.031 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.0594, allocations: 0.503 MB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/0.06255, allocations: 1.509 MB / 280.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.06272, allocations: 160.8 kB / 280.4 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004146/0.06314, allocations: 227.9 kB / 280.6 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00651/0.06965, allocations: 3.346 MB / 284 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.06969, allocations: 4 kB / 284 MB, free: 5.965 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002463/0.06993, allocations: 95.97 kB / 284.1 MB, free: 5.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.07008, allocations: 108.5 kB / 284.2 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/0.07537, allocations: 2.723 MB / 286.9 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/0.09079, allocations: 7.752 MB / 294.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.0941, allocations: 1.934 MB / 296.6 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.09628, allocations: 1.238 MB / 297.8 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/0.0965, allocations: 57.28 kB / 297.9 MB, free: 7.914 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.09655, allocations: 43.88 kB / 297.9 MB, free: 7.863 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 3.006e-06/0.09655, allocations: 4 kB / 297.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.01191/0.1085, allocations: 5.306 MB / 303.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.1085, allocations: 64.72 kB / 303.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.1106, allocations: 1.278 MB / 304.6 MB, free: 1.145 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.819e-05/0.1107, allocations: 49.7 kB / 304.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008889/0.1116, allocations: 0.9694 MB / 305.6 MB, free: 112 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/0.112, allocations: 464.2 kB / 306 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/0.1125, allocations: 210.9 kB / 306.2 MB, free: 15.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002272/0.1127, allocations: 361.9 kB / 306.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.1139, allocations: 0.6896 MB / 307.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.1153, allocations: 0.8793 MB / 308.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/0.1182, allocations: 1.598 MB / 309.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.1182, allocations: 4 kB / 309.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004534/0.1227, allocations: 2.345 MB / 312.1 MB, free: 9.441 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.1228, allocations: 11.98 kB / 312.1 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.1228, allocations: 4 kB / 312.1 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003241/0.126, allocations: 0.8462 MB / 313 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008801/0.1269, allocations: 203.7 kB / 313.2 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.1425, allocations: 10.95 MB / 324.1 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.1436, allocations: 51.95 kB / 324.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.1437, allocations: 36 kB / 324.2 MB, free: 12.92 MB / 314.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.001527/0.1452, allocations: 0.8214 MB / 325 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/0.1456, allocations: 203 kB / 325.2 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00456/0.1502, allocations: 2.232 MB / 327.4 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.1502, allocations: 12 kB / 327.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.1502, allocations: 4 kB / 327.5 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.1502, allocations: 11.97 kB / 327.5 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008843/0.1591, allocations: 4.161 MB / 331.6 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.1591, allocations: 0 / 331.6 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007417/0.1598, allocations: 155.8 kB / 331.8 MB, free: 5.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00315/0.163, allocations: 0.8389 MB / 332.6 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.1631, allocations: 27.98 kB / 332.7 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/0.1785, allocations: 10.82 MB / 343.5 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1785, allocations: 4.062 kB / 343.5 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006406/0.1849, allocations: 3.251 MB / 346.7 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.1859, allocations: 319 kB / 347 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.1861, allocations: 28 kB / 347.1 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/0.1869, allocations: 71.94 kB / 347.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003398/0.1872, allocations: 117.1 kB / 347.3 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.575e-05/0.1873, allocations: 36 kB / 347.3 MB, free: 5.258 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00151/0.1888, allocations: 0.8952 MB / 348.2 MB, free: 4.355 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1888, allocations: 0 / 348.2 MB, free: 4.355 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001906/0.1907, allocations: 0.5117 MB / 348.7 MB, free: 3.844 MB / 330.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.0005815/0.1913, allocations: 214 kB / 348.9 MB, free: 3.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004269/0.1956, allocations: 2.353 MB / 351.3 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.1956, allocations: 4 kB / 351.3 MB, free: 1.219 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.102/0.2976, allocations: 1.591 MB / 352.9 MB, free: 101.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.2996, allocations: 406.6 kB / 353.3 MB, free: 101.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005747/0.3053, allocations: 4.635 MB / 357.9 MB, free: 99.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.3064, allocations: 1.465 MB / 359.4 MB, free: 99.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006206/0.307, allocations: 281.7 kB / 359.6 MB, free: 99.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.3072, allocations: 92.7 kB / 359.7 MB, free: 99.64 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3072, allocations: 0 / 359.7 MB, free: 99.64 MB / 330.7 MB Notification: Performance of Templates: time 0.03267/0.3399, allocations: 29.13 MB / 388.8 MB, free: 72.68 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/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: 5.8559175649425015]