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.001025/0.001025, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001669/0.002694, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001143/0.001143, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001676/0.002819, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9561/0.9561, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1369/1.093, allocations: 49.5 MB / 220.7 MB, free: 1.352 MB / 218.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.423e-06/1.423e-06, allocations: 0 / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.442e-05, allocations: 2.312 kB / 222 MB, free: 44 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005128/0.005143, allocations: 6.687 MB / 228.7 MB, free: 9.312 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.008423, allocations: 2.399 MB / 231.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004805/0.008903, allocations: 51.62 kB / 231.1 MB, free: 6.855 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008423/0.009745, allocations: 468.9 kB / 231.6 MB, free: 6.395 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.01106, allocations: 0.7102 MB / 232.3 MB, free: 5.68 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.01153, allocations: 287.6 kB / 232.6 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002727/0.01425, allocations: 3.061 MB / 235.6 MB, free: 2.324 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.01574, allocations: 1.299 MB / 236.9 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.01814, allocations: 2.155 MB / 239.1 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.01965, allocations: 1.52 MB / 240.6 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004026/0.02005, allocations: 348 kB / 241 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006317/0.02068, allocations: 439.8 kB / 241.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005096/0.02119, allocations: 0.756 MB / 242.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008265/0.02202, allocations: 0.8892 MB / 243 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.02389, allocations: 2.387 MB / 245.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.0239, allocations: 4 kB / 245.4 MB, free: 8.445 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0239, allocations: 0 / 245.4 MB, free: 8.445 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.215e-05/0.02393, allocations: 0 / 245.4 MB, free: 8.445 MB / 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.003153/0.02709, allocations: 3.293 MB / 248.7 MB, free: 5.109 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.02712, allocations: 15.97 kB / 248.7 MB, free: 5.094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006505/0.02777, allocations: 497.6 kB / 249.2 MB, free: 4.59 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.02882, allocations: 0.8734 MB / 250.1 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.557e-05/0.02891, allocations: 164.7 kB / 250.3 MB, free: 3.508 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.02914, allocations: 227.9 kB / 250.5 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.03088, allocations: 1.783 MB / 252.3 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.03091, allocations: 3.938 kB / 252.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.03103, allocations: 91.98 kB / 252.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.582e-05/0.03111, allocations: 104.4 kB / 252.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009357/0.03204, allocations: 0.6495 MB / 253.1 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00522/0.03726, allocations: 5.021 MB / 258.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009687/0.03823, allocations: 0.9895 MB / 259.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005672/0.0388, allocations: 0.5288 MB / 259.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.03892, allocations: 45.23 kB / 259.7 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.03895, allocations: 51.88 kB / 259.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.685e-06/0.03896, allocations: 0 / 259.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003269/0.04223, allocations: 2.204 MB / 261.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.04226, allocations: 68.72 kB / 262 MB, free: 7.379 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/0.04285, allocations: 0.8421 MB / 262.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.0429, allocations: 49.7 kB / 262.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.04322, allocations: 0.8112 MB / 263.7 MB, free: 5.645 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.04343, allocations: 464 kB / 264.2 MB, free: 5.188 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.04363, allocations: 202.8 kB / 264.4 MB, free: 4.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.04373, allocations: 361.8 kB / 264.7 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.04393, allocations: 153.4 kB / 264.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.04418, allocations: 308.7 kB / 265.2 MB, free: 4.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005267/0.04471, allocations: 0.5838 MB / 265.7 MB, free: 3.484 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.04471, allocations: 0 / 265.7 MB, free: 3.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001024/0.04574, allocations: 0.8567 MB / 266.6 MB, free: 2.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.04575, allocations: 11.94 kB / 266.6 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.04576, allocations: 4 kB / 266.6 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.04687, allocations: 0.5132 MB / 267.1 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.04736, allocations: 239.7 kB / 267.4 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004364/0.05172, allocations: 7.424 MB / 274.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.052, allocations: 35.94 kB / 274.8 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.05205, allocations: 31.98 kB / 274.9 MB, free: 9.969 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.0002644/0.05231, allocations: 180.5 kB / 275 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.05248, allocations: 151.8 kB / 275.2 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.05352, allocations: 0.8804 MB / 276.1 MB, free: 8.727 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.05352, allocations: 19.92 kB / 276.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.05353, allocations: 8 kB / 276.1 MB, free: 8.699 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.05354, allocations: 11.91 kB / 276.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.05597, allocations: 2.35 MB / 278.5 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.05597, allocations: 7.938 kB / 278.5 MB, free: 6.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004048/0.05638, allocations: 183.9 kB / 278.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.05663, allocations: 179 kB / 278.8 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.05767, allocations: 0.52 MB / 279.3 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.05771, allocations: 20 kB / 279.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1077/0.1654, allocations: 7.469 MB / 286.8 MB, free: 46.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.1654, allocations: 3.484 kB / 286.8 MB, free: 46.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.1674, allocations: 1.21 MB / 288 MB, free: 45.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.1676, allocations: 27.78 kB / 288.1 MB, free: 45.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/0.168, allocations: 53.28 kB / 288.1 MB, free: 45.94 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/0.1683, allocations: 117 kB / 288.2 MB, free: 45.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.1683, allocations: 25.59 kB / 288.3 MB, free: 45.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005337/0.1689, allocations: 435 kB / 288.7 MB, free: 45.89 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1689, allocations: 0 / 288.7 MB, free: 45.89 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001539/0.1704, allocations: 0.5117 MB / 289.2 MB, free: 45.89 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.0004023/0.1708, allocations: 198.6 kB / 289.4 MB, free: 45.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.1724, allocations: 1.336 MB / 290.7 MB, free: 45.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.392e-05/0.1725, allocations: 22.97 kB / 290.7 MB, free: 45.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.1737, allocations: 1.177 MB / 291.9 MB, free: 44.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.1754, allocations: 4.316 MB / 296.2 MB, free: 40.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/0.1929, allocations: 4.112 MB / 300.3 MB, free: 38.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/0.1934, allocations: 0.5887 MB / 300.9 MB, free: 38.61 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004138/0.1938, allocations: 156 kB / 301.1 MB, free: 38.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007321/0.1946, allocations: 406.9 kB / 301.5 MB, free: 38.51 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1946, allocations: 4 kB / 301.5 MB, free: 38.51 MB / 282.7 MB Notification: Performance of Templates: time 0.03249/0.2271, allocations: 32.9 MB / 334.4 MB, free: 10.82 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6705018039792776]