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.001335/0.001335, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001482/0.001482, allocations: 160.5 kB / 24.55 MB, free: 20 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.002/1.002, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.785e-05, allocations: 2.312 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005741/0.005759, allocations: 6.871 MB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.008326, allocations: 2.317 MB / 282.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003099/0.008635, allocations: 55.62 kB / 282.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007062/0.009342, allocations: 469.1 kB / 282.6 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009289/0.01027, allocations: 0.7336 MB / 283.4 MB, free: 6.957 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.01057, allocations: 283.6 kB / 283.6 MB, free: 6.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001672/0.01224, allocations: 2.979 MB / 286.6 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.01329, allocations: 1.332 MB / 287.9 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.01492, allocations: 2.044 MB / 290 MB, free: 276 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1087/0.1237, allocations: 1.516 MB / 291.5 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007131/0.1244, allocations: 350.5 kB / 291.8 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007737/0.1252, allocations: 435.9 kB / 292.3 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005382/0.1257, allocations: 0.9505 MB / 293.2 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008553/0.1265, allocations: 1.089 MB / 294.3 MB, free: 16.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.1286, allocations: 2.573 MB / 296.9 MB, free: 16.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1286, allocations: 0.625 kB / 296.9 MB, free: 16.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1286, allocations: 0 / 296.9 MB, free: 16.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.443e-05/0.1286, allocations: 2 kB / 296.9 MB, free: 16.29 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.003208/0.1318, allocations: 3.18 MB / 300.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1318, allocations: 12.98 kB / 300.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007545/0.1326, allocations: 0.5232 MB / 300.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.134, allocations: 1.483 MB / 302.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.1341, allocations: 165.1 kB / 302.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.1344, allocations: 213.8 kB / 302.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.1366, allocations: 1.913 MB / 304.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/0.1366, allocations: 3.938 kB / 304.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.1368, allocations: 91.42 kB / 304.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.07e-05/0.1369, allocations: 123.7 kB / 304.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.1382, allocations: 0.8128 MB / 305.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005867/0.144, allocations: 7.019 MB / 312.4 MB, free: 8.312 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.1451, allocations: 1.127 MB / 313.5 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/0.1458, allocations: 0.6379 MB / 314.2 MB, free: 7.254 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.146, allocations: 49.28 kB / 314.2 MB, free: 7.207 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.146, allocations: 54.69 kB / 314.3 MB, free: 7.141 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.555e-06/0.146, allocations: 6.516 kB / 314.3 MB, free: 7.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004132/0.1501, allocations: 3.066 MB / 317.4 MB, free: 4.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.1501, allocations: 64.72 kB / 317.4 MB, free: 3.996 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008252/0.151, allocations: 1.087 MB / 318.5 MB, free: 2.895 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.151, allocations: 49.7 kB / 318.6 MB, free: 2.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.1513, allocations: 1.07 MB / 319.6 MB, free: 1.758 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.1515, allocations: 485.3 kB / 320.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.1517, allocations: 236.5 kB / 320.3 MB, free: 1.055 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.1518, allocations: 0.5433 MB / 320.9 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.1521, allocations: 190.5 kB / 321.1 MB, free: 324 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.1525, allocations: 440.6 kB / 321.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008075/0.1533, allocations: 0.6825 MB / 322.2 MB, free: 15.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1533, allocations: 4 kB / 322.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001544/0.1548, allocations: 1.166 MB / 323.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1549, allocations: 4 kB / 323.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1549, allocations: 4 kB / 323.3 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.1562, allocations: 0.5651 MB / 323.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.1566, allocations: 202.3 kB / 324.1 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00595/0.1625, allocations: 10.29 MB / 334.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.1629, allocations: 51.95 kB / 334.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.163, allocations: 40 kB / 334.5 MB, free: 2.379 MB / 282.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.0004435/0.1634, allocations: 225.8 kB / 334.7 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.1636, allocations: 199 kB / 334.9 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.1651, allocations: 1.174 MB / 336.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.1651, allocations: 19.47 kB / 336.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1651, allocations: 4 kB / 336.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.1651, allocations: 19.89 kB / 336.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/0.1686, allocations: 3.069 MB / 339.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1686, allocations: 4 kB / 339.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.169, allocations: 155 kB / 339.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.1703, allocations: 0.5636 MB / 339.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.1703, allocations: 27.94 kB / 339.9 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00559/0.1759, allocations: 10.22 MB / 350.2 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1759, allocations: 4 kB / 350.2 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.1778, allocations: 1.561 MB / 351.7 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.1781, allocations: 283 kB / 352 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.1783, allocations: 28 kB / 352 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.1786, allocations: 59.95 kB / 352.1 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.1788, allocations: 140.7 kB / 352.2 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.1788, allocations: 35.98 kB / 352.3 MB, free: 148 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006719/0.1795, allocations: 0.6572 MB / 352.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1795, allocations: 0 / 352.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001183/0.1807, allocations: 0.5117 MB / 353.4 MB, free: 14.97 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.0003647/0.1811, allocations: 203.1 kB / 353.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.1827, allocations: 1.717 MB / 355.3 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1827, allocations: 256 / 355.3 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.1838, allocations: 1.42 MB / 356.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009726/0.1847, allocations: 413.6 kB / 357.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005226/0.19, allocations: 3.958 MB / 361.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.1905, allocations: 0.7053 MB / 361.8 MB, free: 6.402 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003955/0.1909, allocations: 231.8 kB / 362.1 MB, free: 6.172 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.1911, allocations: 84.5 kB / 362.1 MB, free: 6.09 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1911, allocations: 4 kB / 362.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of Templates: time 0.0335/0.2246, allocations: 30.51 MB / 392.7 MB, free: 8.016 MB / 346.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","",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.4628052418120205]