Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001961/0.001961, allocations: 99.55 kB / 20.96 MB, free: 3.453 MB / 18.57 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.002083/0.002083, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.637/1.637, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.356e-05/3.538e-05, allocations: 2.312 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.0104/0.01044, allocations: 6.797 MB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004846/0.01528, allocations: 2.301 MB / 281.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006167/0.0159, allocations: 63.56 kB / 281.4 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.01708, allocations: 468.8 kB / 281.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.01897, allocations: 0.7258 MB / 282.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/0.01958, allocations: 295.5 kB / 282.9 MB, free: 7.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003952/0.02353, allocations: 2.975 MB / 285.8 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.02563, allocations: 1.34 MB / 287.2 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004167/0.0298, allocations: 2.03 MB / 289.2 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1214/0.1512, allocations: 1.522 MB / 290.7 MB, free: 16.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007808/0.152, allocations: 349.5 kB / 291.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.1531, allocations: 438 kB / 291.5 MB, free: 16.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007878/0.1539, allocations: 0.9541 MB / 292.4 MB, free: 16.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.1554, allocations: 1.083 MB / 293.5 MB, free: 16.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.16, allocations: 4.76 MB / 298.3 MB, free: 16.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.16, allocations: 1 kB / 298.3 MB, free: 16.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.16, allocations: 0.9062 kB / 298.3 MB, free: 16.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.854e-05/0.1601, allocations: 0 / 298.3 MB, free: 16.23 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: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.006136/0.1663, allocations: 3.39 MB / 301.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1663, allocations: 12.06 kB / 301.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.1676, allocations: 0.5214 MB / 302.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.1704, allocations: 1.518 MB / 303.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.1705, allocations: 164.4 kB / 303.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000331/0.1708, allocations: 223.6 kB / 304.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004449/0.1753, allocations: 3.337 MB / 307.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.941e-05/0.1753, allocations: 3.938 kB / 307.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/0.1755, allocations: 87.38 kB / 307.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.904e-05/0.1756, allocations: 124.7 kB / 307.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003408/0.1791, allocations: 2.386 MB / 310 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.1928, allocations: 11.04 MB / 321.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003142/0.196, allocations: 1.717 MB / 322.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/0.198, allocations: 1.068 MB / 323.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/0.1983, allocations: 49.28 kB / 323.9 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/0.1983, allocations: 54.7 kB / 324 MB, free: 12.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 7.073e-06/0.1983, allocations: 3.984 kB / 324 MB, free: 12.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.01201/0.2103, allocations: 4.7 MB / 328.7 MB, free: 7.957 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.2104, allocations: 72.28 kB / 328.7 MB, free: 7.879 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.2129, allocations: 1.501 MB / 330.2 MB, free: 6.363 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.213, allocations: 53.7 kB / 330.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.2142, allocations: 1.123 MB / 331.4 MB, free: 5.172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005745/0.2147, allocations: 0.4996 MB / 331.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005043/0.2152, allocations: 276.5 kB / 332.2 MB, free: 4.402 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004007/0.2156, allocations: 0.5785 MB / 332.8 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.2167, allocations: 0.5452 MB / 333.3 MB, free: 3.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.218, allocations: 0.8162 MB / 334.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.2205, allocations: 1.455 MB / 335.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2205, allocations: 0 / 335.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004491/0.225, allocations: 2.051 MB / 337.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.225, allocations: 8 kB / 337.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.225, allocations: 4 kB / 337.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003193/0.2282, allocations: 0.8103 MB / 338.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008557/0.2291, allocations: 205.6 kB / 338.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/0.2451, allocations: 12.72 MB / 351.4 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.2462, allocations: 47.97 kB / 351.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.2463, allocations: 39.98 kB / 351.5 MB, free: 0.6016 MB / 298.7 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.001452/0.2478, allocations: 0.7431 MB / 352.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004107/0.2482, allocations: 199 kB / 352.4 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.2523, allocations: 1.951 MB / 354.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.2523, allocations: 12 kB / 354.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2523, allocations: 4 kB / 354.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-05/0.2523, allocations: 15.91 kB / 354.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009296/0.2616, allocations: 4.483 MB / 358.9 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.2616, allocations: 64 / 358.9 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006992/0.2623, allocations: 162.3 kB / 359 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003001/0.2653, allocations: 0.7854 MB / 359.8 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.2654, allocations: 31.94 kB / 359.8 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01492/0.2804, allocations: 12.31 MB / 372.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2804, allocations: 0 / 372.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/0.2855, allocations: 2.673 MB / 374.8 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.2866, allocations: 291.2 kB / 375.1 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.2868, allocations: 24 kB / 375.1 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007755/0.2876, allocations: 75.89 kB / 375.2 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003287/0.2879, allocations: 129 kB / 375.3 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.119e-05/0.288, allocations: 38.84 kB / 375.4 MB, free: 8.223 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001563/0.2896, allocations: 0.9223 MB / 376.3 MB, free: 7.297 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2896, allocations: 0 / 376.3 MB, free: 7.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002089/0.2917, allocations: 0.5117 MB / 376.8 MB, free: 6.785 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.0005748/0.2922, allocations: 208.3 kB / 377 MB, free: 6.594 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004077/0.2963, allocations: 2.381 MB / 379.4 MB, free: 4.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2963, allocations: 0 / 379.4 MB, free: 4.156 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002649/0.299, allocations: 1.717 MB / 381.1 MB, free: 2.387 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.3009, allocations: 420.1 kB / 381.5 MB, free: 1.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008446/0.3094, allocations: 4.279 MB / 385.8 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/0.3113, allocations: 1.357 MB / 387.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008593/0.3122, allocations: 223.8 kB / 387.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.3125, allocations: 92.5 kB / 387.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/0.3125, allocations: 0 / 387.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of Templates: time 0.05394/0.3664, allocations: 29.18 MB / 416.6 MB, free: 15.18 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.903222296037711]