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.00142/0.00142, allocations: 84.73 kB / 21.5 MB, free: 2.98 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.00114/0.00114, allocations: 165.6 kB / 24.91 MB, free: 8.77 MB / 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 0.9819/0.9819, allocations: 177 MB / 205.2 MB, free: 5.418 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.403e-06/1.403e-06, allocations: 0 / 273.4 MB, free: 1.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.186e-05, allocations: 2.312 kB / 273.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005894/0.005916, allocations: 6.738 MB / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004467/0.01038, allocations: 2.382 MB / 282.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009483/0.01133, allocations: 63.56 kB / 282.6 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009161/0.01225, allocations: 473.1 kB / 283.1 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.01382, allocations: 0.7374 MB / 283.8 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.0143, allocations: 275.7 kB / 284.1 MB, free: 6.434 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002398/0.01669, allocations: 2.994 MB / 287.1 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.01801, allocations: 1.379 MB / 288.5 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1647/0.1828, allocations: 2.023 MB / 290.5 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.1851, allocations: 1.523 MB / 292 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009867/0.1861, allocations: 349.4 kB / 292.4 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009156/0.187, allocations: 441.9 kB / 292.8 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007118/0.1878, allocations: 0.9519 MB / 293.7 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.1895, allocations: 1.082 MB / 294.8 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.1925, allocations: 2.581 MB / 297.4 MB, free: 16.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1925, allocations: 2.031 kB / 297.4 MB, free: 16.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1925, allocations: 3.094 kB / 297.4 MB, free: 16.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.489e-05/0.1926, allocations: 0.5312 kB / 297.4 MB, free: 16.09 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.004/0.1966, allocations: 2.794 MB / 300.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1967, allocations: 14.45 kB / 300.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008185/0.1975, allocations: 445.3 kB / 300.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.1988, allocations: 1.004 MB / 301.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.1988, allocations: 164 kB / 301.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.1991, allocations: 216.7 kB / 302 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.2009, allocations: 1.797 MB / 303.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.2009, allocations: 3.938 kB / 303.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.2011, allocations: 91.91 kB / 303.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.401e-05/0.2011, allocations: 121.3 kB / 304 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008615/0.202, allocations: 0.6498 MB / 304.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004703/0.2067, allocations: 5.036 MB / 309.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007769/0.2075, allocations: 0.9777 MB / 310.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.208, allocations: 0.521 MB / 311.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.2081, allocations: 48.42 kB / 311.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2081, allocations: 49.75 kB / 311.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.585e-06/0.2081, allocations: 2.188 kB / 311.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003081/0.2112, allocations: 2.208 MB / 313.5 MB, free: 8.047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/0.2112, allocations: 76.27 kB / 313.6 MB, free: 7.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005377/0.2117, allocations: 0.845 MB / 314.4 MB, free: 7.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.2118, allocations: 53.7 kB / 314.5 MB, free: 7.203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.212, allocations: 0.8178 MB / 315.3 MB, free: 6.422 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.2121, allocations: 462.4 kB / 315.8 MB, free: 6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.2123, allocations: 210.1 kB / 316 MB, free: 5.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.211e-05/0.2124, allocations: 355.9 kB / 316.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.2125, allocations: 153.4 kB / 316.5 MB, free: 5.332 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.2127, allocations: 295.5 kB / 316.8 MB, free: 5.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.2132, allocations: 0.5654 MB / 317.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2132, allocations: 0 / 317.3 MB, free: 4.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0009103/0.2141, allocations: 0.862 MB / 318.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2141, allocations: 11.97 kB / 318.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.2141, allocations: 4 kB / 318.2 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.2152, allocations: 0.5026 MB / 318.7 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.2156, allocations: 233.3 kB / 318.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00425/0.2199, allocations: 7.398 MB / 326.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.2202, allocations: 35.98 kB / 326.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.2203, allocations: 28 kB / 326.4 MB, free: 11.21 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.0003881/0.2206, allocations: 187.6 kB / 326.6 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.2208, allocations: 139.9 kB / 326.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.2219, allocations: 0.9053 MB / 327.6 MB, free: 9.996 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2219, allocations: 12 kB / 327.6 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2219, allocations: 7.938 kB / 327.6 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.2219, allocations: 3.984 kB / 327.6 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/0.2246, allocations: 2.364 MB / 330 MB, free: 7.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2246, allocations: 128 / 330 MB, free: 7.879 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.225, allocations: 185.3 kB / 330.2 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.2261, allocations: 0.5032 MB / 330.7 MB, free: 7.203 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.379e-05/0.2261, allocations: 28 kB / 330.7 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004554/0.2307, allocations: 7.465 MB / 338.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.2307, allocations: 7.547 kB / 338.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.232, allocations: 1.192 MB / 339.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.2323, allocations: 181.9 kB / 339.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.2324, allocations: 27.94 kB / 339.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.2327, allocations: 59.97 kB / 339.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.2329, allocations: 108.5 kB / 339.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.233, allocations: 24 kB / 339.8 MB, free: 13.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003529/0.2333, allocations: 437.3 kB / 340.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2333, allocations: 0 / 340.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00122/0.2345, allocations: 0.5117 MB / 340.7 MB, free: 13 MB / 298.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.000348/0.2349, allocations: 202.7 kB / 340.9 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.2361, allocations: 1.33 MB / 342.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/0.2361, allocations: 20 kB / 342.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008741/0.237, allocations: 1.091 MB / 343.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008798/0.2379, allocations: 424 kB / 343.8 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.2424, allocations: 3.826 MB / 347.6 MB, free: 6.109 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.2429, allocations: 0.5804 MB / 348.2 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000365/0.2433, allocations: 156 kB / 348.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006499/0.244, allocations: 391.1 kB / 348.7 MB, free: 4.953 MB / 298.7 MB Notification: Performance of SimCode: time 9.21e-07/0.244, allocations: 0 / 348.7 MB, free: 4.953 MB / 298.7 MB Notification: Performance of Templates: time 0.03449/0.2784, allocations: 30.98 MB / 379.7 MB, free: 6.453 MB / 330.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 -s gbode -gbm=radauIIA3 -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.465524699073285]